Ronald Guida <[EMAIL PROTECTED]> wrote:

> For a Hangman game, the only time I need to change the probability
> distribution is if I load a new word list.  If I wanted to be able to
> load a new word list, then perhaps I need to carry the word list
> inside the GameState as well?
>
What about carrying a list of Strings inside the State? Write a
RandomGen and Random instance that return some dictionary file in
random order.

-- 
(c) this sig last receiving data processing entity. Inspect headers for
past copyright information. All rights reserved. Unauthorised copying,
hiring, renting, public performance and/or broadcasting of this
signature prohibited. 

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to