Skip to content

a tic tac toe project I made in my first semester of University

License

Notifications You must be signed in to change notification settings

Man2Dev/Tic-Tac-Toe.cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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