Today is . Page created 12/24/09

Eight Eight Queens Problem Queen Problem

Open Eight Queens Problem ]

Vertical Line Divider

This is a JavaScript that involves the movement of the Queen in Chess. Simply place eight queens on a chess board without conflict.

We have tested the code in IE 8.0, Firefox3.5.5, Opera 10.20, Netscape 9.0.0.6, Flock2.52, Safari Public Beta 4(528.16) and AOL Explorer 1.5.
This script worked well in IE 8.0, Safari Public Beta 4(528.16), Opera 10.20 and AOL Explorer 1.5. In all other platforms the effect would not appear but it did degrade well with no error messages.

Depending on your knowledge of HTML and javascripts, this is an easy one (1) part copy and paste code with no reconfigurations. It also incorporates the uploading of three (3) graphics into your directory (See below). Just paste the code anywhere in the <BODY> section you want it to appear.

queen.gif

empty.gif

dot.gif

Arrow Save as and upload as queen.gif            

Arrow Save as and upload as empty.gif

Arrow Save as and upload as dot.gif

Vertical Line Divider

For Your Information Due to the configurations within the code, it is much easier to upload the three (3) graphics into your top or root directory. This way you do not need to make numerous reconfigurations in order for the images to be called correctly.

On A Final Note     Due to the way the code is configured, it will not function correctly if you have the game on a page with any graphics. In other words, the best way to have the game situated is on a page of its own without any graphics other than the ones within the script. If this is a little unclear, grab the below link to see what we are explaining.
See Example With Graphics On The Page ]

We hope our tutorial was easy to follow and we covered everything in detail. If you would like to add this effect into your pages, grab the respective below link and you are there. If you have any problems with this or anything else, feel free to consult our FAQ ] and if you can't find the answer there, contact us ].
Get Code Here ]   [ Rate This Page ]   Scripts In Conflict ]   Bookmark and Share