8 Queens Puzzle

8 Queens Puzzle

This is the famous 8 Queens Puzzle! The objective is to place 8 queens on the board so that they do not interfere with each other (according to the chess rules).

In due course we shall provide branch and bound/dynamic programming codes for this problem. Until then practice your own skills!

If you are interested in this game you may wish to surf to the UK now, where you'll find a much more exciting JavaScript code which will allow you to change the size of the board. You'll also find there an interesting article on this game which provides details on solution strategies.

Have fun!.


Add a new Queen:Click on the square where you want to position the new Queen.
Remove a Queen: Click on the Queen you want to remove.