Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 590 Bytes

README.md

File metadata and controls

35 lines (31 loc) · 590 Bytes

a tic tac toe game

with two modes

  1. a manual game with two players
  2. a game with AI with the MIN-MAX algorithm

run compiled game:

  1. clone my repo:
cd ~ && git clone [email protected]:Man2Dev/Tic-Tac-Toe.cpp.git
  1. run
.Tic-Tac-Toe.cpp/Tic-Tac-Toe.out

compile it yourself on Linux

dependency g++

Fedora

sudo dnf install gcc-c++
  1. clone my repo:
cd ~ && git clone [email protected]:Man2Dev/Tic-Tac-Toe.cpp.git
  1. compile the cpp file name tic_tac_toe.cpp:
 g++ ~/Tic-Tac-Toe.cpp/tic_tac_toe.cpp
  1. run:
~/a.out