This is a multiplayer chess game. First you enter your username and password and if you don’t have a one you can create a new account then you enter the players’ name and the time of the game you want. So our chess game has the same rules as the regular chess game but with some differences in the moves of some pieces.The eaten pieces of each player displayed on the sidebar. The valid moves are highlighted green and the illegal moves highlighted red. The game end when one of the players is checked or when the time of one of the players ended.
- A Pawn captures (eats) the squares diagonally or the piece in front.
- The Bishop (elephant) can only move three steps on the diagonal and bypass any pieces. The Bishop also has a new special move, which is to move one square on the horizontal axis so it changes the diagonal color.
- The knight can move in an L shape, with two squares horizontally or vertically, and then three squares in the perpendicular direction.
The user can create new account credentials “username, password and email”.
If the credentials are incorrect, an error message is displayed.
Upon login, the user can:
i. Play a new game, when starting a new game, prompt the user to
enter the name of each player. (Also prompt the user to set the timer).
ii. The score of the game are retrieved at the end as a number of killed pieces for each player.