[goodie] Kids' Refrigerator Magnets

Dan Ingalls Dan at SqueakLand.org
Tue Sep 4 05:57:49 UTC 2001


-- 
This was inspired by a number of other people's work and polished off over the long weekend.  Ned Konz got me going with his RefrigeratorMagnets.  Then Luciano's text-to-speech, and later Bob Arning's Integer asWords put me over the edge.  As it says in the preamble...

-----------
Adds a subclass KidsRefrigeratorMagnets for large single letters.
These move in such a way that contiguity is exact after moving.  Whenever a 'word' (no lexicon) is formed, it turns yellow and Squeak says the word.
Also includes a number version that says the numbers.
FileIn and execute...
	KidsRefrigeratorMagnet makeButtons

Includes Bob Arning's code for Integer asWords.
Also a number of tweaks to PhoneticTranscriber so that numbers sound reasonable,
and a change to Speaker so that it treats dashes as spaces. 
-----------

I had planned to use a lexicon so it only responded to valid words, but Charlie likes it better this way.  It lets him relate to spelling like science rather than culture.  Our TTS is occasionally weak, but Charlie says that's not a problem.

So get Ned's RefrigeratorMagnets  [get NK-ConnectorsDemo from BSS, and fileIn NK-RefrigeratorMagnets.cs from his message of 4/3/2001].  Then decompress and fileIn the attached file, and execute the above doit.  If people enjoy it, I'll put it out as a project on BSS.

Enjoy
	- Dan
-------------- next part --------------
Skipped content of type multipart/appledouble


More information about the Squeak-dev mailing list