8Queens
game
Queens is a board game. Here you have to place 8 queens (a queen has the same mobility as in chess) on the 8X8 board such that no queen crosses the path of another , That is, not more than one queen should be placed in a diagonal , Horizontal or vertical line.
The source file works only when qb45 is started with the /l parameter. The game works as follows.A queen is placed on the board by clicking the desired square on the board. It appears as a green box. After the 8 queens are placed the evaluate button is pressed. If the arrangement is correct the game will tell you so.
This game was made in quickbasic 4.5 . I used my GUI library to show the graphics user interface.
For solutions to the game or queries about the source code emails may be sent to Prashanth Ellina
PROJECT SUMMARY |
|---|
FIANL |
1999, AUG |
DOS BOARD GAME |
SOURCE | |
|---|---|