Sumo challenge is a success

For the last two lessons, we’ve been putting into practice all the coding skills learned this term and last to create a Sumo program.

Our young coders have been challenged to write a suitable code that will run the robot during a Sumo-style bout – the robots have to push their opponent out of a ring.

We discussed potential tactics – such as whether they should attack or defend, move quickly or slowly, use the sensors or write a pre-set sequence of movement – but the program they subsequently developed was totally up to them. It was interesting to see a variety of approaches, combining not only creativity to devise a plan but also the skill to code what they wanted to achieve.

At times, I did have to rein in the competitiveness a little but I couldn’t fault their eagerness and ability to give it a go. Overall, it proved a very engaging and successful project, especially the all-in bouts at the end where every robot was in the ring. Well done everyone!

Next up we’ll be looking at how to code a program to control the robots remotely.


Code Champions November 2023