-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Matteo edited this page Dec 28, 2022
·
4 revisions
The purpose of chessBoardGame is to implement a library for making games it use the chessboard.
ChessBoardGame implement the structure for implement new chessBoardGame.
The structure is composed according to these responsibilities:
- Pawn: It is responsible for the pawn, so it represents power over the others, its symbol, owner and eventual movement.
- Movement: is responsible for the movement of the pawn on the board. It implements all possible movements of the pawn.
- Board Game It is responsible for the board game, so it controls all operations that are performed on the board.
- Player Is responsible for the player, so it controls the player and his score.
- Game It is responsible for managing the team players, checkers and the board.
- Position Is responsible for the position/orientation of the pawn on the chessboard.
List the game implements:
- Dama Italian checkers - It is played on a 8x8 checkerboard, similar to the chess board in chess, with the only difference being that it is rotated ninety degrees (the canton, i.e., the black corner square, goes to the bottom right). There are 12 checkers per players, and the players with the light pieces ('the white') starts. Pawns cannot eat the ladies, nor can they eat backwards. In the case of multiple chances to take, there is an obligation to take in the order of priority: where there are the most pieces, where there are the most valuable pieces (ladies) and where the most valuable pieces meet first. With the same number of pieces, if there is a possibility of taking with both pawn and checkers, it is obligatory to take with checkers. It is played mainly in Italy and some North African countries. More information