This is a simple Tic Tac Toe game written in C using the SDL2 library.
- Online/Offline Multiplayer Mode
- Versus AI
We only have prebuilt binaries for Macs running on Apple Intel, as it is not possible to build the Apple Silicon binary on a Linux system. You have to compile yourself.
- SDL2
- SDL2_ttf
- SDL2_image
- GNU make
- Install MYS2
- Install Chocalatey
- Install GNU make using Chocolatey
choco install make
- Install Homebrew
- Install dependencies
brew install sdl2 sdl2_ttf sdl2_image make
- Install dependencies
sudo apt-get install libsdl2-dev libsdl2-ttf-dev make
- Navigate to the project directory
- Compile the game and the server
make client -j4
make server -j4
- Run the game
.out/ttt_client
- Run the server
.out/ttt_server [port number (optional)]