05NASA Space Apps 2026 · Browser game
Shadowline
A browser game that asks how close a nuclear reactor can sit to astronauts on the Moon, played on real NASA terrain near the south pole.
Hackathon entry · Directed by me, assisted by ClaudeLevel 2 with the published 1 km layout. Over a full year the crew picks up 59 mSv, so the game flags it as over the limit.
- Event
- NASA Space Apps Challenge 2026, Universal Event, November 14 and 15
- Challenge
- Space Mission Design Game
- Team
- Just me
- My part
- I directed the whole build. Claude assisted with the code, the tests, and the slides.
01Problem
The reactor designs NASA has published for the Moon use a shadow shield and keep the reactor 1 km from the crew. At that distance the design target is 5 rem a year inside the shield’s 36° shadow and 50 rem a year outside it. The crew limit for nuclear sources is much tighter, 2 rem (20 mSv) per mission year.
Those numbers only work because Artemis crews stay about 33 days and spend most of that time indoors. A permanent base takes that margin away, and I couldn’t find a public tool that lets a student see the trade-off. That’s what the game is for.
02How you play
You drag the reactor and the habitat around real NASA LOLA elevation data from the Shackleton rim. The crew walks out to a science site 4 hours a day, and you can add waypoints to that route, pile up regolith berms, or hide things behind ridges. The dose map redraws as you go, with a white line where crews hit the 20 mSv limit.
The side panel tracks power, cable mass, how much regolith you’ve moved and crew dose, so every fix costs you something.
03Design decisions and why
- 01Starting from published numbers
- The dose model is simple on purpose. It starts from the published 5 and 50 rem a year at 1 km and drops off with the square of the distance, instead of running a full radiation transport calculation.
- 02Putting the regolith value on a slider
- Soil between the reactor and the crew cuts the dose exponentially, but published values for how much don't agree. Instead of picking one and hiding it, the game lets you change it (the default is 0.035 per cm).
- 03Keeping the budgets apart
- Reactor dose counts against the 20 mSv mission limit. Natural background, 1,369 µSv a day as measured by Chang'e 4, counts against the 600 mSv career limit instead, and the two are never added together. The game also never calls a layout safe. It only says a layout is within NASA-STD-3001 limits under these assumptions.
- 04Showing every number
- All 50 constants in the model are listed in an Assumptions drawer inside the game, each with where it came from and how far to trust it.
04What I did
I was a team of one. I directed the build from start to finish, and Claude (Anthropic’s AI model) wrote the code, the tests, the README and the slides. I said that up front in my submission and on every slide. None of the images are AI generated, the screenshots are all from the running game.
Play the game See the code on GitHub Demo slides (PDF, 7 slides)
05Outcome and limits
| Layout | Stay | Dose | Share of the 20 mSv limit |
|---|---|---|---|
| Published 1 km layout | 33 days | 5.3 mSv | 26% |
| Same layout | 365 days | 59 mSv | 2.9 times over |
| Habitat and route moved into the shadow | 365 days | 7.9 mSv | 40% |
Nothing on the map moves between Level 1 and Level 2. The only change is how long the crew stays, and that alone pushes the published layout to almost three times the limit. Lining the habitat and the moonwalk route up inside the shield’s shadow brings it back down to 7.9 mSv, with the reactor still 1 km away.


The repo has 94 automated tests that check the model against the published numbers, and the last recorded run passed all of them. It’s still a teaching model. It only counts straight line-of-sight radiation, with no neutron scatter or skyshine, so berms look more effective than they really would be. It also treats the reactor as a single point, uses one attenuation value for all the regolith, and averages the terrain into 40 m cells. It isn’t a radiation protection assessment.
06What I’d do next
- Check the simple model against OpenMC for one flat-ground case and one berm case.
- Add a scatter term so berms don’t look better than they are.
- Watch one or two non-engineers play it and see where they get stuck.
- Maybe add a solar storm overlay from NASA’s DONKI data, and more terrain tiles.
Sources
Show all 7 sources
- Lunar Nuclear Reactor Neutron Fluence and Gamma Dose Estimates. NASA NTRS 20260002525. ntrs.nasa.gov
- A Deployable 40 kWe Lunar Fission Surface Power Concept. NASA NTRS 20220007008. ntrs.nasa.gov
- NASA-STD-3001, Spaceflight Human-System Standard (crew radiation limits). nasa.gov
- Marrone et al. Lunar Power Sources: An Opportunity to Experiment. Aerospace 12(1), 58 (2025). doi.org/10.3390/aerospace12010058
- Zhang et al. First measurements of the radiation dose on the lunar surface. Science Advances (2020). doi.org/10.1126/sciadv.aaz1334
- High-Resolution LOLA Topography for Lunar South Pole Sites, Site04. NASA GSFC Planetary Geodesy Data Archive. pgda.gsfc.nasa.gov
- Barker et al. Improved LOLA elevation maps for south pole landing sites. Planetary and Space Science (2021). doi.org/10.1016/j.pss.2020.105119
