8 queens in GP

Post your nifty GP projects here!

Moderator: MSandro

Post Reply
manyone
Posts: 19
Joined: Nov 5th, '17, 07:56

8 queens in GP

Post by manyone » Apr 1st, '19, 05:14

i wrote this program as a way of learning GP by immersion. It's the classic 8-queens problem of putting 8 queens on a chessboard such that no queen is under attack by any other queen. (the program displays the placement of the 8 queens on the chessboard for half a second after each solution is found)
8queens.JPG
8queens.gpp
(19.4 KiB) Downloaded 2 times

User avatar
Calloway
Posts: 76
Joined: Apr 30th, '18, 00:28
Location: Eastern United States

Re: 8 queens in GP

Post by Calloway » Apr 4th, '19, 23:56

nice looks good :D

Post Reply