Tic Tac Toe is one of the simplest games to play. X and O take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner.
In this program, players can either challenge an AI or a friend. When playing against an AI, the computer goes first and plays O, whereas the player goes after the computer and plays X.
Published
January 2021
Type
Game, AI
Votes
votes
Code
740 lines
This project is just one among many other established projects. Interested to see more? Visit the projects page or simply click one of the selected projects below.
All code is owned by its respective author and made available under a license. All non-code (such as writing, drawings, images, etc.) are also owned by their respective author.