Tuesday, July 28, 2009

Pls help me in this!! How to write a cpp program that places the queens on a chess board?

Well, you need some kind of matrix to begin with. Then people (objects queens etc). You could set them up like the start of the game and then randomly choose spots.





You're gonna have to give more than this to get more help....

Pls help me in this!! How to write a cpp program that places the queens on a chess board?
Represent chess board by a matrix, represent queens ,etc by numbers say 1,2...n


if 1 is in position i,j you have a pair (1,(i,j)) it is not that easy, may be you can contact a C++ expert at websites like http://askexpert.info/


No comments:

Post a Comment