I’ve been playing some flash games recently. Here’s one I kinda like. It’s called light-bot. The goal is to program a robot to move around and light up certain squares. The only things the robot can do are walk forward, turn left, turn right, jump and toggle the light (for whichever square it currently occupies). You can make two functions, but there’s no branching, and the robot has extremely limited memory. After figuring out how the game worked, I tried to come up with recursive programs to see how few commands I could do each level in. With only 2 Here are the screencasts (apologies for the terrible sound):

Comments

[…] It suits children, and the concepts directly translate into programming constructs. LightBot http://toshuo.com/2008/light-bot/ is a game that teaches automation as well as functionsMaking animations with Powerpoint – teaches […]