hvd / TicTacToe-Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Other


Languages

Language:Python 100.0%