Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Welcome to our Tic-Tac-Toe game!!

We hope you will have a blast playing our game that we put too much effort in!

Steps on how to run the game:

1- Download the SRC folder
2- Open the SRC folder with any IDE (Integrated Development Environment) you prefer
3- There will be a "Run" button that will be found mainly on the top bars of most IDEs
4- Press the button
5- Voila!

Instructions to play the game with no difficulties:

First of all, you need a foe to play against, enter your names, and keep in mind player1 is always X and player2 is always O.

The scoreboard will always be displayed to count each player's score.

The X-O board is designed to compensate either the value of X or O in any of the numbers displayed (1 till 9)

The game will ask player1 to make their move, he will choose where he wants to play by entering the number that's located in the same position where:

Number 1- corresponds to Top left position.
Number 2 corresponds to Top middle position.
Number 3 corresponds to Top right position.
Number 4 corresponds to Middle left position.
Number 5 corresponds to Center position.
Number 6 corresponds to Middle right position.
Number 7 corresponds to Left bottom position.
Number 8 corresponds to Middle bottom position.
Number 9 corresponds to Right bottom position.

After player1 makes their move the X-O board will appear again Then, player2 will be asked to make their move.

The game will continue by the same method alternatively until one of the players wins.

You will win if you align 3 of your symbols (X or O) under each other, beside each other or diagonally.

When a player wins the scoreboard will appear with the new score.

You will be asked to either play again or not, if you want to play again type 'yes.'

After that, you will be asked if you want to switch sides where in case of typing 'yes' the player who played with X will play with O and vice versa, then the game will start again and so on.

When you type 'no' when asked to play again the game will display the final winner who will have a higher score.

In case of a draw the game will display the draw statement and the scores will remain the same.

What are you waiting for?! Grab a foe and beat them!

About

A fun Tic-Tac-Toe game with detailed instructions on how to play. Download the SRC folder, open it in your IDE, and hit the Run button to get started!

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages