Page 1 of 1

8 queens in GP

Posted: Apr 1st, '19, 05:14
by manyone
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 373 times

Re: 8 queens in GP

Posted: Apr 4th, '19, 23:56
by Calloway
nice looks good :D