Posts

Showing posts with the label programming

Review: Light-bot for iPhone and iPad

Image
Light-bot by Danny Yaroslavski is a simple programming puzzle. It has cute graphics and a decent interface (apart from a couple of quirks), but I'm not convinced about the quality of the puzzles. The underlying idea is not new and has been done several times in the past. You indirectly control a robot, by writing a program composed of basic commands like "walk", "turn right", and so on. The goal is to lit up all the blue tiles by using the "light" command over them. Subroutines are quickly introduced; you can write up to two of them, and have the corresponding commands to call them. You can create infinite loops by using the "call" command at the end of a subroutine. The game calls this "recursion", but it's misleading to use that name since there is no concept of a call stack, and when the "return" statement is introduced, it actually goes back to the FIRST call to the subroutine. You have a limited number of slots f...