On Friday 14 January 2005 09:23 am, Ruby Quiz wrote: > It works like this. The program starts by telling the user to think > of an animal. It then begins asking a series of yes/no questions > about that animal: does it swim, does it have hair, etc. Eventually, > it will narrow down the possibilities to a single animal and guess > that (Is it a mouse?). For a very impressive version of this game, see http://20q.com. -- -- Jim Weirich jim / weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)