I think that the ideal programming game would look like:
1. You have a robot in an environment with obstacles. Maybe a score counter in the top left.
2. You can type commands in the left to make the robot move.
3. There's a reference book that lists all of the commands you can use