MOONSHOT

DOWNLOAD & RUN LOCALLY
moonshot.zip 582 KB — everything you need to play
Pure HTML/CSS/JS — no install required
DOWNLOAD

HOW TO RUN

  1. 1 Download and unzip moonshot.zip to any folder
  2. 2 Open index.html in any modern browser (Chrome, Firefox, Safari, Edge)
  3. 3 Play. That's it.

No server, no install, no dependencies, no internet connection needed. Double-click the file and go.

WHAT'S INSIDE

The zip contains 14 files totaling under 600 KB. Every file is plain text (except one audio clip) and fully readable:

index.html Main game page — canvas element, UI panels, script loading
science.html Standalone page explaining the real orbital mechanics behind the game
css/style.css All visual styling — dark theme, panel layouts, button styles
js/constants.js Physics constants (real Earth/Moon masses, distances, gravity) and game settings
js/physics.js Gravity simulation using Newton's law with Velocity Verlet integration
js/camera.js Co-rotating reference frame camera — keeps Earth-Moon axis stable on screen
js/renderer.js Canvas 2D drawing — planets, orbits, trails, shuttle, HUD indicators
js/audio.js Sound effects via Web Audio API (synthesized bleeps/tones) + launch audio clip
js/ui.js UI layer — panels, sliders, HUD updates, unit toggles (km/miles, m/s/km/h)
js/game.js Game loop and state machine — title, briefing, launch, simulation, results
js/missions/base.js Mission framework — objective checking, scoring, checkpoint tracking
js/missions/artemis1.js Artemis I mission config — free-return lunar flyby, 6 checkpoints, scoring
js/records.js Achievement/records system — tracks personal bests and named achievements
assets/launch.mp3 16-second audio clip from NASA's Artemis 1 launch broadcast (public domain)

SAVE DATA

Your records and achievements are stored in your browser's localStorage under the key moonshot_records. This means:

No cookies, no tracking, no analytics, no network requests of any kind. The game works completely offline.

IS IT SAFE?

No executables. Every file is plain text you can read in any text editor, plus one MP3 audio clip.

No dependencies. Zero external libraries, frameworks, or CDN links. Nothing is loaded from the internet.

No network access. The game makes no HTTP requests, no WebSocket connections, no fetch calls. It runs entirely in your browser's sandbox.

No data collection. No cookies, no analytics, no telemetry. Records are saved to localStorage only.

Fully auditable. ~2,500 lines of JavaScript total. Open any file and read it.

ABOUT

Moonshot is an orbital mechanics puzzle game inspired by NASA's Artemis program. You launch a capsule from Earth, use the Moon's gravity to slingshot around it, and return home safely. All physics use real values — Newton's gravitational constant, real Earth and Moon masses, real orbital distances — compressed in visual scale but accurate in behavior.

Built collaboratively by Tyler Black and Anthropic's Claude using nothing but vanilla HTML, CSS, and JavaScript. No build tools, no frameworks, no server — just code that runs in a browser.

← BACK TO CHOCOYAKI