Tic-tac-toe is a game in which two players take turns in drawing either an '⭕' or an '❌' in one square of a grid consisting of nine squares. The winner is the first player to get three of the same symbols in a row.
Open-source code by Janis Chan