An open API service indexing awesome lists of open source software.

https://github.com/gdonald/tictactoe-cpp

TicTacToe in C++ using SDL2
https://github.com/gdonald/tictactoe-cpp

cpp game minimax sdl2 tic-tac-toe tictactoe

Last synced: 10 months ago
JSON representation

TicTacToe in C++ using SDL2

Awesome Lists containing this project

README

          

## tictactoe-cpp
TicTacToe in C++ using SDL2

![TicTacToe](https://raw.githubusercontent.com/gdonald/tictactoe-cpp/master/tictactoe.png)

### Install SDL2 Dependencies

#### Mac OS

Install Xcode from the app store, and homebrew, then:

brew install cmake sdl2 sdl2_gfx sdl2_ttf sdl2_image

#### Debian Linux

apt install build-essential cmake clang \
libsdl2-dev libsdl2-gfx-dev \
libsdl2-ttf-dev libsdl2-image-dev
### Build
cmake .
make

### Run
./tictactoe