If you get stuck, look at the hints page.
Email me to post your own puzzles, and/or suggest better solutions and hints.
Other CS puzzle sites:
My Puzzles
The question: how many pirates will remain alive after the division is complete?
_____ / x \ |x x| \__x__/
| Move_right | move one number right |
| Move_left | --"-- left |
| check_parachute command | execute command if and only if a parachute is under the robot |
| goto LABEL | goto label in program |
| :LABEL | label |
| check_robot command | execute command if and only if the other robot is in the same place |
| stop | stop movement, shut the lights, exit program |