Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
8 Queens Puzzle - Place 8 queens on board without conflict
#1
8 Queens Puzzle is a QB64 version of a famous chess board puzzle which is called The 8 Queens Puzzle.  The goal is to place 8 Queens on a chess board so that none of the Queens are in conflict with each other.  It's not that easy and takes some thinking.  Use the mouse, click on a Queen and drag it onto the chess board.  If any Queens are in conflict they will turn red.  Place all 8 Queens on the board without any of them being red.

This is an updated version to the one I posted at the old forum.  This one has all the image files in the code, and uses SOUND instead of wav files for sound effects, so all you need now is the one BAS code to compile & play the program.

- Dav


.bas   8queens-v2b.bas (Size: 67.46 KB / Downloads: 41)

   

Find my programs here in Dav's QB64 Corner
Reply




Users browsing this thread: 1 Guest(s)