Transcript PPT

ISE 582
Chess Project
By Thanathorn and Kriengsak
Objective: This is an entertainment application for
2 people to play chess together.
Model:
It consists of 10 classes which are
Board: draw the chess board
Character: Pawn, Rook, Knight, Bishop,
Queen, King
The function of each character class is to move
the character according to its moving pattern.
Piece: abstract class for each character.
It has methods to check player’s turn, type of
character, valid move of the character, and
change the position either moving to a blank
position or beating an opponent’s unit.
Chess: a viewer that used to draw applet and
set position of each character at the
beginning.