Widget Workshop (1996) was my favorite: with a large selection of widgets (such as logic gates, switches, displays, number generators, sound and graphics modules) you build 'functional cause and effect pipelines' in a a cute drag and drop canvas. There is a puzzle mode too. Very Rube Goldberg. Great fun, and educational!