RoboMaze is a classroom programming activity for secondary-school pupils using a BBC micro:bit, Microsoft MakeCode Python and the Kitronik :MOVE Motor.
The pupil-facing resources are published using GitHub Pages.
https://robomaze.alexanderdenton.dev
The activity is designed so that pupils do not have to build every piece of motor-control code from scratch.
The starter code provides:
- a completed
turn_right_90()function; - a completed
move_to_wall()function; - the required hardware setup code.
Pupils then:
- analyse the maze;
- adjust
speedandturnTimeuntil the supplied right turn is approximately 90 degrees; - copy and adapt the right-turn code to create
turn_left_90(); - test the ultrasonic sensor and choose
distanceToWall; - test the supplied
move_to_wall()function using that distance; - sequence the movement functions inside
navigate_maze()to escape the maze.
The variables pupils are expected to adjust are kept together at the top of main.py because they are central to the activity.
index.md- GitHub Pages homepageinstructions.md- pupil setup and Tasks 1-6cheat-sheet.md- pupil programming referencestarter-code.md- website page containing copyable starter codeteacher.md- teacher/source page containing the completed solutionlicense.md- website licence pagemain.py- pupil starter templatesolution.py- completed example solution_layouts/- shared Jekyll page layout_includes/- shared site navigationassets/- site CSS and JavaScriptCNAME- GitHub Pages custom domainLICENSE- MIT licence
Pupils should normally use the RoboMaze website rather than browsing the GitHub repository directly.
They can:
- open the activity instructions;
- open Microsoft MakeCode in a separate browser tab;
- copy the starter code into MakeCode;
- work through Tasks 1-6;
- use the cheat sheet whenever required;
- return to the starter-code page for a fresh copy if their code becomes badly broken.
The completed solution remains available for teachers, maintainers and people using RoboMaze independently.
The site is built with Jekyll and is intended to use:
- Source: Deploy from a branch
- Branch:
master - Folder:
/(root)
The custom domain is:
robomaze.alexanderdenton.dev
RoboMaze is open-source software released under the MIT License.
Copyright © 2026 Alexander Denton.
See LICENSE for the full licence terms.
The website includes setup screenshots showing pupils how to:
- create a MakeCode project called
RoboMaze; - change Code options to Python Only;
- click Extensions on the left-hand side;
- select the kitronik-move-motor extension tile.
These visuals make the setup stage more explicit for classroom use.
The setup screenshots are styled through the shared site CSS so they remain responsive and visually secondary to the written instructions. This keeps the Markdown files clean when browsing the repository directly on GitHub.