[Haskell-beginners] nim programme
Michael Mossey
mpm at alumni.caltech.edu
Sun Oct 25 16:27:22 EDT 2009
Hi John,
I'm not sure how much experience you have with Haskell, but there is a
general problem-solving principle: solve a simpler problem first. For
example, you could write a version of this that uses only one pile of
stones. You will still have to create a loop, exit condition, prompt and
read, and basic things like that. Once those are solved, then you can turn
your attention to arrays.
-Mike
John Moore wrote:
> Hi All,
> I'm attempting to write a program for the game nim.
More information about the Beginners
mailing list