Question
Write an off-line Tick-Tack-Toe (TTT) game. Using C# language and GUI. In this project you will write a Tick-Tack-Toe game using a graphic user interface
Write an off-line Tick-Tack-Toe (TTT) game. Using C# language and GUI.
In this project you will write a Tick-Tack-Toe game using a graphic user interface (GUI). Tick-Tack-Toe is a simple game but it still requires basic Windows interfaces, arrays, loops, if-then-else, etc.,which will givean opportunity for refreshing or learning the basic C# language. More interestingly, this game can be later converted to an on-line version using the network programming techniques required
Specifications:
1. This TTT game is played by two people
.2. You must use Windows GUIwith mouse clicks for TTT implementation. When you start a project, choose Windows Forms Application (not WPF Application). An example GUI design is shown below
.
3. A button is accommodated to allow start of a new game which should clear the board and get ready for another game.Pressing buttons are done using a mouseclick.
4. If a player presses the same button more than once during the play, it should be ignored.
5. The game should be monitored by the program and declare win,lose or draw as soon as the decision can be made.
6. After completing 5, add codes such that you can play the same TTT game against the computer. If you design the computer-side algorithm properly, human should not be able to win the game, i.e., the best should be a draw.
TTT - Offline O o O Start New GameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started