For robotics programming teaching I last year gave the people I was supposed to teach the following game
http://www.kongregate.com/games/Coolio_Niato/light-bot
A pretty good algorithmic game.
Apart from that we started from the basics of good programming, proper code writing, OOP and such. Than we moved on to showing them the libraries and intorducing them to how they work and how to use them.