https://github.com/junaidsalim/tic-tac-toe
A simple two-player, one-time TicTacToe game developed in C++ using classes.
https://github.com/junaidsalim/tic-tac-toe
cpp game tic tictactoe
Last synced: about 2 months ago
JSON representation
A simple two-player, one-time TicTacToe game developed in C++ using classes.
- Host: GitHub
- URL: https://github.com/junaidsalim/tic-tac-toe
- Owner: JunaidSalim
- Created: 2023-06-28T12:02:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-17T16:26:28.000Z (over 1 year ago)
- Last Synced: 2025-02-11T13:52:26.931Z (4 months ago)
- Topics: cpp, game, tic, tictactoe
- Language: C++
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic-Tac-Toe
A simple two-player, one-time TicTacToe game developed in C++ using classes.This is a simple two-player, one-time TicTacToe game developed by Junaid Saleem in C++ using classes. The game allows two players to take turns marking their moves on the board by inputting the corresponding index.
Instructions:
1. Input the index where you want to place your mark, and the array representing the board will be updated.
2. Players take turns making their moves.
3. If an invalid index is entered, the game will prompt for re-input.
4. The board will be displayed at the start of the game and after each turn.
5. To play again, you need to re-run the program.Enjoy playing this one-time TicTacToe game!