Explore / React

Tic Tac Toe

Hard · React

What to build

Two players — X and O — take turns on a grid. Detect wins across rows, columns, and diagonals and announce the winner. Include a Reset button. Clean logic matters more than extra features.

Build it in the browser editor on GrindPrep (desktop) and compare with the reference solution.