Tic-tac-toe game example on SDL 1.2