APCS presentation

Download Report

Transcript APCS presentation

Card Game
Joe Goodrich
Pat Large
Sean Lourette
Joe Sofia
Overview

We created 4 card games that run from a main
menu. This main menu have 4 buttons that lead
the player into the desired game. Each game
has a menu system that will lead the player back
to the main menu.




Euchre
Hearts
Poker
Spades
Euchre


Euchre was the first game to be fully finished.
We created objects to represent everything
within the game. Artificial Intelligence is strong,
and will even over trump as long as it will not
remove protection on a left bower.
Euchre has a GUI that uses Grid Bag Layout.
This layout allowed us to customize the size and
location of every component.

We found one bug, where the flipped up card did not
always appear, or the flipped up card would not
disappear.
Hearts

Hearts was the last Game to be finished.
We also used a Grid Bag Layout for the
GUI, and an artificial intelligence that
played to the level of a real human player.

We did encounter a bug in hearts. When the
human hand appeared we would see multiple
of the same card displayed.
 If
we stepped through the program in debug mode
we could fix the problem, however if we ran it, the
display would not work properly.
Poker

Poker was the second game to be completed.
We have a Grid Layout as of current, but hope to
change the Layout to a Grid Bag Layout. There
is a working artificial intelligence, however it is
not fully functional. We hope to fine tune the AI
before Friday.

We fixed all GUI bugs, but still want to touch up the AI
so that the computer will play more realistically, and
learn from moves that have been made previously.
Spades

Spades was the third game finished. We used a
Grid Bag Layout, for our display. Our artificial
intelligence, plays well, however it is not set up
to take tricks that it has bid on, but it will shoot to
take its bid.

We encountered a bug within the GUI. We have to
buttons for our human player (Show Cards, and Blind
Nil). If the show cards button is pressed the biding
buttons are enable, as they should be; however the
button does not display cards as it should. However if
the Blind Nil button is pressed, the bidding buttons
are disabled, as they should be, and the cards are
displayed properly.
Overall
Overall our game was a huge success. We have working
artificial intelligence. For three games, and AI that is near
done for the third. We have working GUIS for all the
games, with minor bugs in three games. We created a
large file system with many packages, and many classes
inside each package.
In order for us to finish the game on time, we spent
countless hours after school, in lounges, and at home.
We did what was necessary in order to finish a very
large program. To contact each other while we were at
home, we used an ftp server. All this work was
necessary in order to finish the project and make it look,
and work well.