Report as inappropriate.
The Eight Queen Problem is a classical
problem that concerns the question
"how can we place eight queen on a
chess board so that non of the queens
are threatened by any of the other
This program solves it automatically
There is also additional functionality
in this program. It allows you to
place a queen in a place of your
own choice and to resize the board.
Here a brief instruction for using
each of the functions:
Press the solve button to make the
program solve the problem for the
This function lets you place a queen.
Move the green square up, down, left,
and right and press enter when it
is on the spot in which you want
your queen to be placed. A queen
cannot be placed on a flower. If
you want to cancel placing a queen
press the space button.
The resize function lets you resize the board in the range 1-11.
Press the resize button, then type
the number that you want the board
to be resized to and press enter.
The resize function also clears the
This function simply clears the
board of any flowers and queens.
The flowers indicate threatened positions. Queens cannot be placed
This project was inspired by the GridWorld case-study.
All rights reserved to GershiBelshi (C) 2011.
Want to leave a comment? You must first log in.