Chess Game Example
From WeizmannWiki
Revision as of 10:03, 27 February 2013 by Jayasree.Nair (Talk | contribs)
This is a protected page for the Chess Game Example.
Chess Game Example
The ChessGameExample is the chess game which can be played between two user, the black and white.The chess game is implemented with some of the rules and restictions of the original chess game.
Game Board
Example 1 - LSC for the game
Name | Description | LSC |
---|---|---|
Square PieceClick | when the user click any square Sq1, and then click any square Sq2, if the board next turn is equals to the Sq1 piece type then the square Sq1 check_Move square Sq2. | |
Square MovePiece | when the square Sq1 check_Move square Sq2, canmove is assigned whether the movement of piece from square Sq1 to Sq2 is possible, if the piece canmove and Sq1 piecetype is not equals to Sq2 piecetype then the square Sq1 move_Piece to square Sq2. |
Hello | |
sdaf | |