An implementation of tic-tac-toe written in python.