Goal: Win 3 local boards to create a Tic-Tac-Toe (3 in a row) on the global board.
- Each small 3 ร 3 tic-tac-toe board is referred to as a local board, and the larger 3 ร 3 board is referred to as the global board.
- The game randomly selects who goes first.
- When a player makes a move on the local board, the opposing player is "sent" to the corresponding local board on the global board.
- Example: If "X" moves in the middle cell on an active local board, player "O" will be sent to the middle local board on the global board.
- If a player is sent to a local board that is already finished then all unfinished baords will become active and playable.
- Player turns and end of game status is displayed at the top of the window.
- cmake >= 3.7
- All OSes: click here for installation instructions
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- gcc/g++ >= 5.4
- Linux: gcc / g++ is installed by default on most Linux distros
- Mac: same deal as make - install Xcode command line tools
- Windows: recommend using MinGW
- SDL2 >= 2.0
- SDL2_gfx >= 1.0.4
- Already set up in dependencies folder
- Full Library can be found here
- Clone this repo.
- Make a build directory in the top level directory:
mkdir build && cd build
- Compile:
cmake .. && make
- Run it:
./Ultimate_TicTacToe
.