Haskell Quiz/Chess960: Difference between revisions

From HaskellWiki
No edit summary
(+cat)
 
Line 10: Line 10:
==Solutions==
==Solutions==
* [[Haskell Quiz/Chess960/Solution Sjanssen|Spencer Janssen]]
* [[Haskell Quiz/Chess960/Solution Sjanssen|Spencer Janssen]]
[[Category:Haskell Quiz|Chess960]]

Latest revision as of 10:35, 13 January 2007

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

Solutions