A Tic-Tac-Toe Game between two computers Test phase 1, test phase 2, srs, design phase and coding final deliverable
Project Domain / Category
Game Programming/Network Programing
Abstract/Introduction
The Tic-tac-toe is a simple and interesting board game which is played between two players in n x n grid of squares. The square can be filled by different symbols such as tick (ü) and cross (X). One player can use only one symbol, while other symbol is used by other user. The game is played in turns between two player giving them chance to mark their moves. This process of alternating moves is done until one of the players has drawn a row of three symbols in a horizontal, vertical, or diagonal row.
In this project, this game will be played by two users on two systems. First system will be server while other will be client. One user will play on server machine while other user will play on client machine. The game will contain two levels, basic and advanced. In a basic level, players can play in 3 x 3 grid. Advanced level will allow players to play in 4 x 4 grid. The players will be allowed to choose any of the symbol. The game will be started by any of the user and then it will be played in turns until any of the player gets succeeded in placing three of his/her marks in a horizontal, vertical, or diagonal row.
Functional Requirements:
- The server system should be started and client systems should be connected to
- The players should be designated as Player1 and
- The system should allow both players to start the
- There should be an interface showing game levels and help
- The help menu should contain all instructions to play the
- The players should select any of the game
- The same level should be selected by both
- In case of basic level, a board comprising of a 3 x 3 grid of squares should be drawn on
- In case of Advanced level, a board comprising of a 4 x 4 grid of squares should be drawn on screen.
- The system should allow players to select their respective symbols to
- The system should allow Player 1 to start the turn by placing his/her symbol on any of the squares.
- The marked square box should be locked by the system so that other user could not mark it again.
- The system should allow player 2 to get the turn the turn and mark his/her symbol on the remaining empty
- The system should allow both players make their turns
- The system should declare winner player if any player gets the three respective symbols in a horizontal, vertical, or diagonal
- If both players fails to place their respective marks in a horizontal, vertical, or diagonal row, then game should be terminated or user should be asked to play
Tools:
Microsoft.Net (C#). Etc.
Supervisor:
Name: Umra Naeem Email ID: umra.naeem@vu.edu.pk Skype ID: umra.naeem