Our application is a game called dots and boxes. Starting with an empty grid of dots, two players take turns adding a single horizontal or vertical line between two unjoined adjacent dots. The player who completes the fourth side of a 1x1 box (or groups of one or more adjacent boxes) earns one point (s) and takes another turn. The player with the highest score is the winner.
- 4 levels for the game:
- 1- Easy 2x2 board.
- 2- Medium 3x3 board.
- 3- Hard 4x4 board.
- 4- Extremely hard 5x5 board.
- 2 modes for the game:
- 1- Single-mode(human vs computer).
- 2- Double-mode(human vs human).
- Color for each player: red for player 1 and blue for player 2.
- Each row and each column start with a number to make it easy for the player to choose a cell in the grid.
- Display the number of moves for each player.
- Display the remaining lines.
- Display the time passed in minutes and seconds since the beginning of the game.
- It is possible to make undo till the first move and make redo.
- At any time, the game could be saved to a file.
- A saved game could be loaded and continued.
- At any time the player can go back to the main menu.
- The names and scores of the players who win are saved in a file.
- It’s possible to show top 10 players according to their scores.
Top 10:







