Motion Design · Oct 6, 2026

I used Claude Code to turn a 1989 DOS game I played as a kid into a relativity sim

I used Claude Code to turn a 1989 DOS game I played as a kid into a… by gmccolgan3. Watch the Motion Design video and visit the original Reddit post.

gmccolgan3u/gmccolgan3
View on Reddit
Model not specified
186 net upvotes on Reddit, checked Oct 15, 2026

Open the original Reddit post for the version with sound.

From the creator’s post · gmccolgan3 on Reddit
Sorry, reposted from earlier because the video wasn't working. **Play it: [gravwars.com](https://gravwars.com)** (free, no account, phone or computer) Gravity Wars is a two-player artillery game in curved spacetime. You take turns firing missiles past planets, stars and black holes, and gravity bends every shot. It started as a remake of a public-domain 1989 DOS game (by Sohrab Ismail-Beigi) and grew into a small relativity sim: orbits precess near black holes, black holes are ray-traced with lensing, and missiles feel time dilation. Almost all of the code was written by Claude Code, with me playing, testing and deciding what to build next. ## How it's built * **Claude Code** in the desktop app, over many sessions. A roadmap folder and a CLAUDE.md in the repo hold the plan and the rules, so each new session picks up where the last one stopped. * **Plain JavaScript.** No frameworks, no npm packages, no build step. A small Python script bundles the game into one HTML file. *…
From the creator

The prompt behind it.

The creator has not shared a public prompt. Visit the original post for more about this work.

Video and prompt by gmccolgan3. Original post ↗

Is this your work? Add the badge

Paste this on your site or README to link people to this page.

Featured on motif
<a href="https://createmotion.io/motions/reddit-1wz61i4/"><img src="https://createmotion.io/featured-on-motif.svg" alt="Featured on motif" width="188" height="44"></a>