JRRobbins
.com
Neon Tic‑Tac‑Toe
Turn: X Click a cell Device: —

Controls

Auto Fit

Size

Scale 100%

Auto Fit keeps the game centered and prevents embed offset. Turn it off to manually scale.

Play vs AI
Music

Score

X Wins
0
O Wins
0
Draws
0

AI is “unbeatable” (minimax). Swap sides makes you play as the other symbol.

How it works

Canvas is used for crisp neon rendering at any size. Input uses pointer events so it works on mouse, touch, and pen. A simple animation loop draws a glowing grid, pieces, hover highlights, and a win line.

Credit: Jeromy R. Robbins