Here is a game where you need to program a robot to pick up all stars on a game board. You need to use concepts like functions, conditionals and recursion.
It is very addictive hope you will like it.
here is the link for the game. have fun
RoboZZle online puzzle game