TicTacToe game for program training