https://github.com/cm0use/tic-tac-toe
Tic-tac-toe, no 3D or third-party libraries, just the standard functions provided by the compiler.
https://github.com/cm0use/tic-tac-toe
cpp cpp-game cppgame tic-tac-toe tictactoe tictactoe-cpp tictactoe-game
Last synced: 3 months ago
JSON representation
Tic-tac-toe, no 3D or third-party libraries, just the standard functions provided by the compiler.
- Host: GitHub
- URL: https://github.com/cm0use/tic-tac-toe
- Owner: CM0use
- License: gpl-3.0
- Created: 2022-04-16T16:57:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T20:53:33.000Z (over 1 year ago)
- Last Synced: 2025-01-09T21:31:54.241Z (4 months ago)
- Topics: cpp, cpp-game, cppgame, tic-tac-toe, tictactoe, tictactoe-cpp, tictactoe-game
- Language: C++
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tic-tac-toe
The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.
Features •
Requirements •
Compile & Run •
Contributing •
License
## Features
* Game modes:
- User vs Machine
- User vs User
- Machine vs Machine
* Easy to modify.
* Cross-Platform
- Windows, macOS and Linux.## Requirements
* g++
* git (optional)## Compile & Run
To **clone** and **compile** this game, you will need to have **git** and **g++** installed on your computer.
From your command line:```bash
git clone https://github.com/CM0use/Tic-tac-toe.git
cd Tic-tac-toe
g++ -O2 -std=c++2a src/main.cpp src/tictactoe.cpp -o tictactoe
```Run on **macOS & Linux**:
```bash
./tictactoe
```Run on **Windows**:
```cmd
tictactoe.exe
```## Contributing
**Any contribution you make will be greatly appreciated.**
If you have any ideas/suggestions to improve the repository, make a fork of the repository and create a pull request.
You can also open the issue tracker to report any improvements or bugs.## License
**Distributed under the GNU General Public License v3.0**
See accompanying file LICENSE
or copy at GNU General Public License