The Mars Yard: Running Code on a Simulated Martian Surface
The Mars Yard is live. Learners have run code on a real rover navigating a simulated Martian surface in Cape Town.
This is part of SAPIENT.rocks - the South African Planetary Institute for Exploring Nature with Technology - a CoderLevelUp initiative co-founded with Dr. Matthew Huber of the Planetary Science Institute.
What Is the Mars Yard?
A physical landscape built to simulate the terrain of Mars - rocky, reddish, navigable. A rover sits on it. Learners write code. The rover moves.
The flagship deployment is the Cape Town Science Centre’s Space Room exhibit, built in partnership with CTSC. It launched at CTSC’s 25th birthday celebration in October 2025 and is now open to the public.
You don’t need to be at the Science Centre to try it, either. A desktop simulator lets learners run rover code locally before it executes on real hardware.
Write Code, Get Back Video
CoderLevelUp and UCT (through a final year Information Systems project sponsored by impact.com) are building the SAPIENT.rocks Mars Yard Cloud Platform - a “telescope time” model where learners submit code, the system queues it to run on the real rover, and the results come back as video and images.
Any school, anywhere in South Africa, could send a rover on a mission without leaving their classroom.
Want More?
The full SAPIENT.rocks story - the science, the people, the roadmap - lives at sapient.rocks. That’s where depth lives; this is the teaser.