|
Games Implemented
|
| Chomp: |
The objective in chomp is to make the other player take the last piece
on the board. The chomp board is a 5 by 11 playing field. Each
player takes a turn choosing a square. Once a square is chosen,
all squares that are encompassed by the squares to the right of the
one chosen, and below the one chosen are turned off. Once a square is
off, it cannot be chosen again. The game progresses until someone
takes the last square. There are only 2 possiblities for end game.
Either player1 wins or player2 wins. The user can choose to play a
one player game or a two player game. The one player game matches the
user with the computer AI. The AI right now consists of the computer
picking an available square at random. Onc ethe game is over, the user
must either choose to play a new game, chose to exit, or choose new
options. The option menu is made so that once the user clicks "OK",
it automatically starts up a new game.
|
| Connect Four: |
To win Connect Four, you must match four pieces in a row. The playing
field is six by seven. To place a piece, the user must click the "drop"
button above the row they want to drop the piece into. In this game,
there are 3 possible outcomes, either player 1 wins, player 2 wins, or
the board is filled, with no one winning. The user can choose to play
against the computer or against a human opponent. The computer
opponent randomly picks a column to put its piece. Once the game is
over, the user is notified of the outcome. Then he must either start
a new game, exit, edit the options, or stare at the screen.
|
| Tic-Tac-Toe: |
Tic-Tac-Toe works works just as any TicTacToe game. The object is to
get three in a row while preventing your opponent from doing the
same. The game is started when the program is run. As a default,
Player1 goes first with "x". However, this can be changed in the drop
down menu. The user can specify which player goes first, whether
player 1 is "X" or "O", and whether it is a one player or two player
game. The one player game puts the user against the computer, while
the two player game let's two players take turns. As of right now,
if the user chooses to play a one player game, the computer AI will
step in. The intelligence of the machine, thought, is purely random.
It will select a free cell randomly. As each person
takes a turn, the button or place that is chosen is turned off so that
the same one can't be chosen again. There are three
outcomes in the game. Either player 1 wins, player2 wins, or neither
wins, in which case, it is a draw. At the end of each game, the user
must either choose to play a new game, edit the options, or quit the
game. Once the game is over, all buttons in the playing field are
turned off, and a message is displayed giving one of the 3 outcomes of
the game.
|
| Bejeweled: |
Unlike any of the other games we did, Bejeweled is a single player
game only. The objective in this game is to get the highest score by
manipulating adjacent gems to get 3 in a row or more. When 3 gems are
lined up, they disappear, and you get points for them. You can only
interchange gems that are adjacent to each other, and that when
switched, makes at least one pattern of 3 gems in a row. Again, we
used menus to change the options within the game. There are three
difficulty levels, which simply means that the harder levels have an
added feature of time keeping within the game. When a new game is
selected, the gems that are on the playing field scroll off, and a new
set are put on the board.
|
|