Last week, we had the privilege of running a three day Coding Course for a group of 30 students at Royal Grammar School in Guildford. We had visited the school a year previous, running a combination of our BBC micro:bit Workshop and our Coding Games Workshop over the course of a day, so it was really lovely to be invited back.
This time, we were invited to run a three day course with a group of students, aged 11-13. It was amazing to have three whole days with the same group as we could cover a range of programming languages, approaches and techniques to expose the students to multiple, complimentary coding environments.
On Day 2 we began to focus on writing code from scratch. We used Python for the duration of the day, learning the fundamentals through a series of exercises. We manipulated strings, performed complex calculations, and converted variable types. We built some simple procedures that could manipulate strings or numbers and set the pupils some challenges which they excelled at. Towards the end of the day, we took what the students had been taught so far and we created some additional apps for the BBC micro:bit, this time coded – from scratch – in Python! It was really cool to show the progression from thinking about how to approach coding up an app on Day 1, where we coded visually, to then seeing what the same projects would look like with real code. We even coded up a working spirit-level app, by accessing the micro:bit’s built in accelerometer.
On Day 3, we focussed on game design and development. We challenged the pupils to create a couple of different games for the micro:bit, and then we turned our attention to Unity, a real-world gaming engine used to develop many of the popular games the pupils play! Throughout the day, we worked with the pupils showing them how we could write code for a platforming game, using what we had learnt in Python. We used C# to code movement of characters, respond to a games controller, and code up some logic to handle enemies and scoring. We created a platforming game where players needed to collect keys in levels full of enemies in order to unlock the door to the next level. The pupils then had an hour or so, before the end of the day, to create their own levels, making them as challenging as possible.
It was amazing to have the entire three days with the same group of students, and the feedback from the pupils, and their parents, has been amazing, with many students saying that they’ll be continuing to work on the gaming projects over the summer. In fact, on the evenings between each day, many of the students had continued coding at home and came in with some amazing projects created in their own time.
It was a joy to work with RGS, and we look forward to visiting them again soon!