Skip to content

stavliv/tic_tac_toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic_tac_toe

An implementation of the tic tac toe game in C++ (gameplay in terminal).
You can chose between a human player and a computer player by modifying the players array.
for a human player : players[0] = new humanPlayer('X', 'O');
for a computer player : players[1] = new computerPlayer('O', 'X');

The minimax algorithm is used for the computer player, so the computer player's moves are always optimal.

About

Developement of a tic tac toe game and a smart player using the minimax algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages