No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
License.txt
README.txt
tictac.py

README.txt

TicTacToe version 0.2
Tic tac toe written in Python.

To Run, Download file , open in 
shell as python tictac.py 

Works with usual rules, 
and determines a winner.The
motivation to make this was to learn python in 
a fun way.The AI is primitive for now in the sense
that it will select a random unoccupied tile.
Will update this in the coming days

The Algorithm for determining a winner
adapted from :
http://stackoverflow.com/questions/1056316/algorithm-for-determining-tic-tac-toe-game-over-java


The non-primitive game AI adapted from:
http://inventwithpython.com/chapter10.html which I stumbled across on hackernews