Haskell Quiz/Chess960
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The problem
Chess960 is a chess variant where the initial positions of the pieces are randomly chosen, with a few constraints:
- The king is between the rooks
- The bishops are on opposite colored squares
In short, the goal is to randomly generate valid Chess960 boards.
http://www.rubyquiz.com/quiz106.html