Skip to content

🕹️ A console-based Tic Tac Toe game written in C++. Includes board, win check, and user input.

Notifications You must be signed in to change notification settings

upsilun/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🎮 A simple tic-tac-toe game made in C++.

The project has been made in a short time using basic C++ concepts. Algorithm:

- The game is played between two players, X and O, who take turns marking the spaces in a 3x3 grid.
- The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
- If all nine squares are filled and no player has achieved a winning pattern, the game is a draw.

How to play:

1 - Use the arrow keys to move around the board and select a cell.
2 - Press the enter key to place your mark in the selected cell.
3 - The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

👍 Enjoy the game and have fun!

About

🕹️ A console-based Tic Tac Toe game written in C++. Includes board, win check, and user input.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages