Tool overview
Dynamic Duniya’s Tic-Tac-Toe tool focuses on the grid game only: switch between playing the built-in opponent or sharing one screen with a friend. Pick board sizes from 3×3 up to 5×5 where n marks in a row on a row, column, or main diagonal win. First-move options cover both modes, and changing the grid size asks for confirmation so you do not wipe a match by accident.
Vs computer
Choose whether you or the computer opens. The AI uses minimax with alpha-beta pruning on 3×3 for near-perfect defense, and a depth-limited heuristic search on larger boards so moves stay responsive. After each legal human move the computer replies instantly unless the game has ended.
With friend (hot seat)
Pick Player 1 (X) or Player 2 (O) to open, then pass the phone or tablet between turns. Marks alternate automatically based on the board state, so you get a clean pass-and-play flow without accounts or matchmaking servers.
Phones and tablets
Large tap targets, rounded cells, and responsive spacing keep the board readable on small screens. Use New game whenever you want a fresh start.