https://github.com/i9or/tictactoe
Classic Tic Tac Toe game
https://github.com/i9or/tictactoe
cmake cpp cpp17 sfml sfml2
Last synced: over 1 year ago
JSON representation
Classic Tic Tac Toe game
- Host: GitHub
- URL: https://github.com/i9or/tictactoe
- Owner: i9or
- License: agpl-3.0
- Created: 2023-02-04T11:37:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T11:35:40.000Z (over 2 years ago)
- Last Synced: 2025-03-20T08:12:01.488Z (over 1 year ago)
- Topics: cmake, cpp, cpp17, sfml, sfml2
- Language: C++
- Homepage:
- Size: 1.35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tic Tac Toe
Classic Tic Tac Toe game implemented in C++ and SFML2.
## Setup
Clone the repository:
```sh
git --recusrsive clone https://github.com/i9or/tictactoe.git
```
## Bootstrap Xcode project
CMake is used to generate the Xcode project. From the project root folder:
```sh
cd build
cmake -GXcode ..
open ./tictactoe.xcodeproj
```
From this point it should be possible to build, run, and debug project from the
Xcode IDE. Any changes in `CMakeLists.txt` or `src` fodler should be applied
automatically via built-in CMake re-generation. To force re-generation of the
project `ZERO_CHECK` target should be used.
## Build from command line
Steps are almost the same as for Xcode project bootstrap:
```sh
cd build
cmake ..
cmake --build .
```
If build is successful the binary should be available to run from the `bin`
folder in the root of the project:
```sh
./bin/tictactoe
```
## Attributions
Music: https://www.chosic.com/free-music/all/
Art: https://www.behance.net/garnenka
## License
Code is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 only.