Image: gravwars.com · GRAV WARS over a universe of planets and a black hole, crossed by looping missile trails, with a ship exploding
A 1989 DOS artillery game remade as a relativity sim
Gravity Wars, a public-domain 1989 DOS game, was remade with Claude Code into a browser game with curved spacetime and ray-traced black holes.
Credits
- Reddit poster gmccolgan3 Source ↗
Earliest dated source:
The full story
Gravity Wars is a two-player artillery game where gravity from planets, stars and black holes bends every shot. It began as a remake of a public-domain 1989 DOS game and grew into a small relativity sim, with orbit precession, ray-traced black hole lensing and time dilation on missiles.
Almost all the code was written by Claude Code in plain JavaScript with WebGL, with the maker playing, testing and deciding what to build next. Node scripts check the physics before each commit, and the game is free to play in a browser.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: I used Claude Code to turn a 1989 DOS game I played as a kid into a relativity simReddit poster: gmccolgan3Posted
The maker's post on r/ClaudeAI.
If it disappears: archived copy of Reddit: I used Claude Code to turn a 1989 DOS game I played as a kid into a relativity sim (opens in a new tab)
- The project: gravwars.com
Linked in the post.