Old version of tic-tac-toe