You are here: Home → Forums → Challenge Suggestions → Challenge Suggestion:Chess - How many moves?
Add a reply
A 29degrees diversion |
Example input:
_ _ _ _ _ _ _ _
_ _ N _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ R _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _
Example output:
18
(knight has 6 moves, rook has 12).
Difficulty = 4/5 (?). Can be made easier by restricting the problem only to one specific kind of chess piece (only queens, for example).
Please reply if you like this idea!