When it is your turn, use the arrow keys to move the X. Press SPACE to pick a spot. Impossible (I think) to beat.
I tried to create a smart AI to play tic-tac-toe.