From: Thomas Wieczorek Date: 2007-07-12T04:12:53+09:00 Subject: Re: [QUIZ][SOLUTION] Hangman (#130) A few words to my solution: - It saves the dictionary in a yaml file. If the AI doesn't know a word, it will add it to the dictionary - it guesses letters which have the highest possibility It is a bit rough. I am happy about every suggestion to improve it. 2007/7/11, Thomas Wieczorek : > I was busy until today. > > Here's my solution and my first quiz solution since I learn Ruby. It > wasn't that hard. I learned a lot about Ruby with it. > > >ruby hangman.rb [-w=word] [-l=lifes] > If you don't pass a word it will choose a random word from the > dictionary. Lifes is set to 6 if you don't provide it. >