August 30, 2008

Guess the animal

This code implements a simple binary search for answers. The nodes all have questions, but the leaf-node has a suggestion for an answer. The player is prompted to verify if this is correct, but if it’s not the player is requested for the right answer and a question to ask to tell the difference Read more

April 16, 2003

Soundex in the Io Language

Soundex [16.04.03] (updated 20.01.05) This code is my first stab at doing something in the Io Language (www.iolanguage.com)[http://www.iolanguage.com/about/] which is a small footprint scripting language. The Soundex algorithm for database lookup applications and genealogy research. It finds certain classes of similar-sounding names. Not implemented is Name prefixes and zero-padding. Read more

© Tov Are Jacobsen 1997-2021 Privacy and cookies