this is first version of game
Tic-tac-toe is played on a three-by-three grid by two players, who alternately place the marks X and O in one of the nine spaces in the grid. ... If played optimally by both players, the game always ends in a draw, making tic-tac-toe a futile game.