Pupils raced their robots in the South Yorkshire heat of the First Lego League contest – guiding them around a tricky obstacle course.
In the event, hosted by Sheffield Hallam University, ninety 11 to 17-year-olds tested their technological skills.
The Lego robots had to be navigated around the course in a specified time, collecting points for each obstacle they overcame.
The heat was won by an all-girls team from King Ecgbert School in Dore, who will go on to take part in the national final at Loughborough University in February.
Dr David Love, a lecturer in computing at Hallam, said: “There have been some really impressive designs and the kids have excelled. We’ve been on hand to offer advice on basic computing principles which they have taken away and channelled into developing their robots.”
Pupil Victoria Brock said: “We’ve all really enjoyed working on this project.”