Programming: Eight Queens Riddle

Eight Queens Riddle

My earlier post, Stupid Writer Pretends He Can Code, seems something more than a fluke. I here present to you a quick project I did this evening. In the future, I may give this one a few added bells and whistles.

This riddle is a favorite of mine, and I hope you can enjoy it.

P.S.
One does not need my program to do the riddle. The question is how to place eight queens on an eight by eight board so that no queen may move into the same square as any other queen. The queens move as they do in chess, up and down, side to side, and diagonally.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.