Code Club - Term 1, weeks 2 & 3
We really do have a fantastic group of children who all seem quick to learn new concepts.
Last week we worked on the 'whack a witch' project where we created a game of flying witches that you can 'whack' by clicking on as they zoom about the screen and clock up as many points as possible within 30 seconds.
Other than the basic looping and motion functionality, this introduced the concept of scope. We created two variables on the stage (score and time), with global scope, and another 'speed' variable with a scope limited to the specific witch sprite in question. This allowed the children to play around with different witches of varying size, travelling at different speeds and clocking different scores accordingly, by editing the local variables in each sprite. They loved this, and quickly set to work creating small ghostly witch sprites that would score hundreds of points when clicked.
Much fun was then had playing each others games which took up most of the rest of the session.
This week we started with the 'Fireworks' session, introducing the concept of broadcasting and listening for events. When the mouse is clicked, a rocket shoots up to the mouse position and explodes with a bang. When the rocket explodes, it broadcasts an 'explode' event, upon which the explosion sprite jumps to the same position and reveals itself for a short time. Again, eveyone picked this up pretty quickly, and at least 3 children moved on to the next session: 'Fruit machine'. I think the fact that the fireworks session had less playability, and no competitive edge meant that it didn't hold their attention for as long as the witch game the previous week. Having said that, a decent proportion did extend their firework explosions to expand, twist and twirl with different visual effects, prompting lots of 'wow's and 'cool's and 'awesome's.
How do I create a racing game?
One bright spark decided the projects were a little boring, and asked how to create a racing game while searching the web for help. He quickly found a tutorial on creating a simple racing game in Scratch, and spend the rest of the session creating and extending a racing game where two coloured squares (cars) could be steered and accelerated around the screen (the track). Impressive!
Using Code Club Scratch projects in ICT class
One of the teachers who joined us in the first week has started running the same scratch projects in the whole class ICT lessons, which is brilliant (not that I know what they were doing before). A decent proportion of the Code Club members are in this class, so those that completed the project in the club are now sharing their knowledge with the other less experienced classmates in the following week's ICT class. I attended one of the classes to help this week and was actually pretty redundent. I did notice some of the code club members were a little bored by this though, so perhaps it is not the most stimulating activity to go over the same material twice, but it is certainly good that more of the class are getting a go at scratch. Perhaps we should stagger the sessions, so that they are all working on something new in the next ICT class.
Next week, we're on to Level 2 projects, already! We kick off with the Fruit Machine, although a few of them have completed this already. I am looking forward to seeing how they all get along.