XO game Description
One of the players plays with «crosses», the second - with «zeroes». Players take turns putting their pieces on the free cells of the field 3×3. The first one to line up 3 of his pieces vertically, horizontally or on a large diagonal wins. If the players filled in all 9 cells and it turned out that there are no three identical signs in any vertical, horizontal or large diagonal, the game is considered to end in a draw. The first move is made by the player who puts the «crosses». You can play both together and alone against artificial intelligence. The function of drawing pieces between opponents is built in.
Open up