https://github.com/nathancordeiro/tic-tac-toe-terminal-game
A terminal based Tic Tac Toe game implemented in C++
https://github.com/nathancordeiro/tic-tac-toe-terminal-game
Last synced: 3 months ago
JSON representation
A terminal based Tic Tac Toe game implemented in C++
- Host: GitHub
- URL: https://github.com/nathancordeiro/tic-tac-toe-terminal-game
- Owner: NathanCordeiro
- Created: 2024-01-08T18:59:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-20T18:04:17.000Z (over 1 year ago)
- Last Synced: 2025-03-31T19:47:25.609Z (6 months ago)
- Language: C++
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
Tic Tac Toe Terminal Game
A simple console-based Tic Tac Toe game implemented in C++. Enjoy the classic game with your friends!
## Overview
This program is a console-based implementation of Tic Tac Toe where two players can take turns marking spaces on the grid. The game displays the current state of the board, handles player movements, and determines the winner or declares a draw.
## Features
- **Player Names:** Players can enter their names before starting the game.
- **Game Display:** The console displays the Tic Tac Toe grid, providing a visual representation of the game.
- **Movement Handling:** Players can use arrow keys to navigate the grid and press Enter to make their moves.
- **Winner Determination:** The game checks for a winner after each move, displaying the result when the game is over.
- **Restart Option:** After each game, players have the option to play again. They can also choose different names for each round.
## How to Play
1. **Player Names:** Enter the names of the players.
2. **Game Board:** Use arrow keys to navigate the grid, and press Enter to make a move.
3. **Winner:** The game will determine the winner or declare a draw when the game is over.
4. **Restart:** After each game, choose whether to play again and, if desired, with different player names.