Skip to content
Permalink
Browse files
Updated ReadMe with final project details
  • Loading branch information
hortonr6 committed Aug 11, 2019
1 parent ebb1d00 commit 84a5f3f603d3dc24993415cf075de9216b9572c3
Showing 1 changed file with 18 additions and 3 deletions.
@@ -1,9 +1,24 @@
# Tic-Tac-Toe
Console-based version of Tic-Tac-Toe

A simple project to get me back into C++ programming and simple game programming before attempting larger and more complex projects

Some files are only necessary if you open the project in Code::Blocks and can otherwise be ignored

The Tic-Tac-Tac.exe file in the repository is the final compiled version of the game
It was compiled on a 64bit Windows system and so please recompile the files as instructed below to create an executable that will run on your system

Some files are only necessary if you open the project in Code::Blocks
If you are not using Code::Blocks simply compile main.cpp and run the executable to play the game
If you are not using Code::Blocks compile main.cpp and include the following classes and necessary files:
AI (AI.h and AI.cpp)
Game (Game.h and Game.cpp)
Grid (Grid.h and Grid.cpp)
Player (Player.h and Player.cpp)

Then run the executable to play the game

Difficulties:
Normal - CPU will choose a square on the grid at random, very easy to beat
Impossible - Plays the optimum strategy for a 3x3 grid, should be unbeatable with the best outcome for the player being a draw (Not yet implemented)
Impossible - Plays the optimum strategy for a 3x3 grid, should be unbeatable with the best outcome for the player being a draw

Enjoy a nice simple game of Tic-Tac-Toe (Noughts and Crosses)
If you have any questions please let me know

0 comments on commit 84a5f3f

Please sign in to comment.