Tic-Tac-Toe

Online Multiplayer · 3 × 3
— or join a friend's room —

Waiting…

Share this room code with your friend

Waiting for opponent…

Tic-Tac-Toe

🟢 Connected
P1
0
Draw
0
P2
0

Leaderboard

Stored in your browser · $0
#PlayerWinsGamesWin %

Tic-Tac-Toe

Tic-Tac-Toe

5 × 5 — Get 5 in a row to win
Player 1
0
Draws
0
Player 2
0

Leaderboard

#PlayerWinsGamesWin %

Stored in your browser (localStorage) — $0 cost

document.getElementById('restart').addEventListener('click', reset); function reset() { board = Array(9).fill(null); current = 'X'; gameOver = false; cells.forEach(c => { c.textContent = ''; c.className = 'cell'; }); status.textContent = "Player X's turn"; } function updateScores() { scoreX.textContent = scores.X; scoreO.textContent = scores.O; scoreDraw.textContent = scores.draw; }