Skip to content

StaneCobalt/T3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeFactor

T3

A Tic-Tac-Toe game done console style.

This is a fun project done just to do something in C++. The AI isn't very smart, it just selects an open space at random, so the game is fairly beatable.

How to Play

Make sure you have gcc installed. MinGW is a package of command line tools that includes gcc, and is a good option if you don't have gcc already.

Run the following command: g++ -std=c++11 src/main.cpp src/t3.cpp -o t3.exe

Alternatively, if you have cmake installed you can just run: make all

Then run t3.exe to begin playing.

After that, just type in a number 0 through 8 to select a space to place your X.

About

Tic-Tac-Toe Console Style

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published