The Eight Queens

To solve the eight queens problem, you must place 8 queens (black squares) onto the chess board below.  No queen can attack any other queen.  Like in a real chess game, a queen can attack all cells in its vertical, horizontal, and diagonal lines of sight.

(More about this game)

BlackDog's Board Games


Go Back
A good place to start:  BlackDog's Home Page

Thanks to Aaron Davidson for the code for this game.


  << Click here for text link advertising opportunities on BlackDog >> 
  || BlackDog's Maze Generator || 


In the Eight Queens problem the challenge is to place eight queen chess pieces on a chessboard so that no queen piece threatens another queen on the board.  In chess, the queen is a powerful piece and has the ability to attack any other playing piece positioned anywhere else on the same row, column, or diagonal.  This makes the challenge quite tricky as it sometimes it seems there is no solution.  However, there are in fact ninety-two valid solutions to the problem, although many of those ninety-two are symmetrical mirrors. 
Back to the Game