Games /
Tres en raya
Play X vs O against an AI opponent that uses minimax — the optimal strategy for every position. You are X and go first. Take turns placing marks on the 3×3 grid; the first to align three marks horizontally, vertically, or diagonally wins. Against a perfect opponent, the best you can achieve is a draw. Win and draw counts saved locally.
You (X)
0
Draws
0
AI (O)
0
Your turn (X)
Cómo jugar
- You are X and move first. Click or tap any empty cell to place your mark.
- The AI responds immediately with the optimal O move using the minimax algorithm.
- First to align three marks in a row, column, or diagonal wins. If the board fills with no winner, it's a draw.
Frequently asked questions
- Is it free?
- Yes, completely free with no signup or ads.
- Does my data leave my device?
- No. Win/draw/loss counts are stored only in your browser's localStorage.
- Does it work on mobile?
- Yes. Tap any cell to place your mark on iOS Safari and Android Chrome.