Play some games, there are many out their in your language. Let students investigate and tinker with the code.
Give students a rubric and let them create on a clean slate, no code provided.