Exercise 7: Let's make Tic-Tac-Toe Game
Let's make a tic-tac-toe game from scratch in Python.
Problem statement
Tic-tac-toe is a two-player game that has crosses (Xs) and noughts (Os). Players take turns marking the free spaces in a 3x3 grid with X or O. The winner is the one who successfully fills the spaces with their marks in a horizontal, vertical, or diagonal line before the other player.
Get hands-on with 1400+ tech skills courses.