๐ค Robotics coding for kids
The track where code makes something happen instead of printing something. Drive, turn, read a rangefinder, follow a wall, escape a maze โ in Python, in a simulated room.
- 8 units
- 32 lessons
- 114 exercises
- Units 1โ2 free
- Ages 8โ15
How this track is kept honest
Every number the robot produces comes out of geometry: the rangefinder casts a real ray, driving forwards stops where the robot's body first touches a wall, and two wheel speeds produce the arc they really would produce. Nothing is special-cased to make a lesson come out right, and the simulator is checked against the same geometry computed a second way.
Best after the Python track. No robot to buy โ the room is on the screen.
How it starts
A robot is only three things: sensors to notice the world, motors to move, and a brain to decide. You are the brain. Bolt lives in a room two metres across. Everything is measured in centimetres. Press the button under the room and watch.
The full Robots syllabus
8 units and 32 lessons, in the order they are played. Each unit has a page of its own with every explanation in it, the code samples and what they print, and a few questions to try.
Unit 1: Wake Up
Sensors, a brain, and two wheels
- First Orders
- Left and Right
- Sense, Think, Act
- The Long Way Round
Unit 2: Straight Lines
Getting there, and getting back
- There and Back
- The Square
- Angles That Add Up
- The Zigzag Run
Unit 3: Do It Again
One loop instead of four copies
- Four Times
- Polygons
- The Loop Counts
- Lap of the Lab
Unit 4: Senses
Numbers that come from the real world
- The Beam
- Both Sides
- Bump
- Measure the Room
Unit 5: Decisions
Programs that look before they leap
- If
- Else
- Three Ways
- The Junction
Unit 6: Loops That Watch
Keep going until something changes
- While
- Until You Get There
- Round the Edge
- The Maze
Unit 7: Wheels
Two motors, and how to ease off
- Two Motors
- Curves
- Easing Off
- Docking
Unit 8: Missions
Fetch, carry, and write the plan once
- Pick It Up
- Deliver
- Write It Once
- The Warehouse
Other things to learn
- ๐ Python for kids
The friendliest first language. Start here!
- โจ JavaScript for kids
The language of websites. Try it after Python.
- โ๏ธ C programming for kids
How computers really work. Read, predict and reason about real C.
- ๐ C++ for kids
C with the sharp edges filed off. Powers most games.
- ๐ Digital logic for kids
Start with one tiny switch. Finish with a working computer.
- ๐ฑ Git and version control for kids
Save your work forever, and share it.
- ๐ง Linux and the command line for kids
Drive a whole computer by typing.
- ๐ข Problem-solving maths for kids
Powers, shapes, chances and proof โ the way problem solvers see them.
- ๐ค AI and machine learning for kids
Teach a computer to learn โ with nothing but adding and multiplying.
- ๐ Competitive programming for kids
Win the race. The algorithms that beat the clock.