Monday, January 4, 2021

Tic-Tac-Toe

You can play Tic-tac-toe on parlor-games, either with a friend, or against the computer. Tic-Tac-Toe is a game for two players, played on a 3x3 grid. The players take turns filling in one square in the grid with their token (X and O). The player using the X token makes the first move. If any player manages to fill 3 squares in a straight line, he wins. The three tokens can be either be in a line that is horizontal, vertical or diagonal. If all the squares are filled without either player managing 3 in a row, the game ends in a draw.

Below is a sample tic-tac-toe game. It is Aang's turn next, and he can win in this move by filling the middle column of the bottom row with "X".



If you chose to play against the computer, you can toggle the level of difficulty between NOVICE/NORMAL/EXPERT. It is still possible to beat the computer on EXPERT, as it still looks only one move ahead.

When the game ends, you can chose rematch to start a new game. The new game starts with the tokens exchanged, so if you had gone first playing "X", you will be the second player playing "O" in the new game. The game keeps a running score: Wins score 2 points, and draws score 1 point to each player.

For a good overview of tic-tac-toe strategy, see the wikipedia article.

No comments:

Post a Comment

Play Terni Lapilli (Three Stones) - Ancient Roman Tic-tac-toe

Terni Lapilli (Three Stones) is an ancient Roman game, superficially similar to tic-tac-toe, and played on 3x3 grid. Each player has 3 stone...