N-Queens — Tutorial

Learn the rules of the N-Queens puzzle.

Play Now ← Back to Dashboard

Quick Walkthrough

The Main Goal
Your objective is to safely place N Queens on an N x N chessboard without any of them attacking each other.
The Core Rules
In chess, a Queen can move infinitely in any direction. Therefore, you must follow these strict rules:
  • Horizontal: No two queens can share the same row.
  • Vertical: No two queens can share the same column.
  • Diagonal: No two queens can share the same diagonal path.
Game Controls
  • Place/Remove: Tap or click any empty cell to place a Queen. Tap again to remove it.
  • Conflict Alert: If two queens are placed incorrectly, the cells will instantly turn Red.
  • Themes & Sizes: You can change the board size and theme from the controls panel to increase or decrease the difficulty!

Interactive Example

Open the Play screen and try placing queens on the board. You can also let the AI visualize the solution automatically.

IV Games — N-Queens tutorial