
22 Jan
2008
22 Jan
'08
9:02 a.m.
Ronald Guida
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.