Loading...

N-Queens Free Play

Queens placed: 0 / 6  |  Remaining: 6

0
00:00:00
3

How to Play

  • Objective: Place N queens on an N×N chessboard so that no two queens attack each other — no shared row, column, or diagonal.
  • Basic Rules: A queen threatens every cell in the same row, column, and both diagonals. With N queens on an N×N board, each row and column must have exactly one queen.
  • Difficulty Levels: Easy uses a 6×6 board (place 6 queens), Medium 7×7, Hard 8×8, and Expert 9×9. Choose before you start.
  • Strategy Tips: Try placing one queen per row. Cells highlighted in red are under attack — avoid placing there. Narrowing options row by row helps find the solution.
  • Game Controls: Click an empty cell to place a queen. Click a queen to remove it. Attacking queens and threatened cells are highlighted automatically.
  • Help Features: Use the Hint button to place a queen in a valid position. Reset clears all queens. Solution animates a complete valid arrangement.

Congratulations!

You have successfully solved the N-Queens puzzle.