Click here to Skip to main content
Click here to Skip to main content

Q Queen Solution New- VB.NET

By , 28 May 2006
Rate this:
Please Sign up or sign in to vote.
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS-->

Sample Image - 8_Queen.jpg


In chess, a queen can move as far as she pleases, horizontally, vertically, or diagonally. A chess board has 8 rows and 8 columns. The standard 8 by 8 Queen's problem asks how to place 8 queens on an ordinary chess board so that none of them can hit any other in one move. 

Besides being an amusing puzzle this problem is interesting because kids love it and it's a great teaching tool in the upper grades of Elementary School. It also provides great programming exercises.

One solution - the prettiest in my opinion - is given in the figure nearby. It turns out that there are 12 essentially distinct solutions. (Two solutions are not essentially distinct if you can obtain one from another by rotating your chess board, or placing in in front of a mirror, or combining these two operations.)

You will fined here the puzzle with maximum solution.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Ritesh Patel
Web Developer
Kuwait Kuwait
My name is Ritesh Patel. As You See on the home page i studied in india(gujarat) and now working as oracle programmer in kuwait. computer is my hobby and i like to work with it.
I have finished to-many different types of projects for different companies. few of them you can see on this web site also (these are given in the side menu of all pages) so any of you want to make any type of software please contact me my contact detail is given in contact page.
For More wisit My Web:
B.Sc.I.T. and many other computer courses in S.P.University. Oracle Programmer, Web Designer, VB Programmer
Music , Computer ,Electronics
Contact Me
Web Site

Comments and Discussions

GeneralMy vote of 5 PinmemberSubhajeet Ganguly24-Oct-11 0:17 
GeneralVery nice demo! PinmemberTovus22-Feb-07 12:10 
I found it useful for the demonstration of image manipulation via the mouse (click and drag and drop images on top of one another). The algorithmic solution was a fine one as well. A few comments in the code would have helped, but it is still a fine simple code sample.
GeneralCheesy PinmemberPolymorpher6-Jun-06 16:01 
GeneralRe: Cheesy PinmemberRitesh Patel27-Jun-06 6:41 
GeneralDescription PinmemberJLester6-Jun-06 3:46 
GeneralRe: Description PinmemberRitesh Patel27-Jun-06 6:41 
GeneralCSP PinmemberJueicks5-Jun-06 14:27 
GeneralRe: CSP PinmemberAlberto Venditti5-Jun-06 21:20 
GeneralRe: CSP Pinmemberffmak6-Jun-06 3:02 
GeneralRe: CSP PinmemberRitesh Patel27-Jun-06 6:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 29 May 2006
Article Copyright 2006 by Ritesh Patel
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid