Using the visual programming environment Scratch, I created a very simple program in which Sprite (the character) walks across the stage and says hello. The simplicity of the program allows students to then have a look at the code and see how it works without it being too confusing for them, especially if they are just starting out. The teacher could ask the students how to make the program more exciting – what would they do/change about the program to make it better? Students could brainstorm these ideas and then pick one to focus on – they could attempt to make this change by changing the code in Scratch. They could explain the process they took to their peers and teacher, and if successful, they could continue by changing more of the code to make their ideal program based on what was initially presented. As a conclusion, students could show the class their final product and discuss what was easy/challenging about using Scratch. They could also touch on what they would like to achieve next using Scratch.
View the very simple program I designed here: https://scratch.mit.edu/projects/584911519/