Skip to content

camtr0n/ttt_python_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ttt_python_2

Second version of Python 3 unbeatable tic tac toe.

After cloning, change to directory and run:

python game.py

Game defaults to 3x3 board, moves are mapped to number pad in an intuitive way. Only odd sizes should be played.

During any turn, the characters "n" and "N" can be entered to redraw the board with numbers in empty squares to indicate move. This is typically necessary for board sizes over 3. Board size can be set up to 10 in game.py before formatting fails in number board (to be fixed).

Numpad move map:

7 8 9
4 5 6
1 2 3

About

Second version of unbeatable tic tac toe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages