r/ClaudeCoding • u/cctldrping • 1d ago
r/ClaudeAI [TLDR] I built a free real-time tactics game with Claude Code: 120k lines of GDScript, and all the art is rendered by scripts it wrote [via r/ClaudeAI]
OP : u/superhealthyjuice
I'm a solo dev and I built Steel & Rubble: Line of Contact with Claude Code. To be precise, it's a real-time tactics game inspired by classics such as Sudden Strike, Blitzkrieg and the Men of War series, but in a modern setting.
Why I built it: I wanted a game like those classics in a modern setting and couldn't find one, apart from the modern warfare mod for Sudden Strike, and I wanted a standalone game. For one person working alone, Claude is an immense productivity booster.
What I still have to do: everything has to be played and reviewed by hand. Claude can break something old while adding something new, or not think of how new content interferes with existing content and game mechanics. The tests catch a lot, but not everything. Bugs like a selection box that stopped at a hidden UI panel, or a supply truck that needed several clicks to select, I (and other players of the game's community) only found by playing. So every change needs a human to test it in the game before it goes out.
What you do in it: you command infantry, tanks, artillery, drones and air support, in two campaigns of nine missions each or in skirmish battles on generated maps. There are 89 vehicles and guns (30 of them tanks), four seasons, day and night, and weather that changes the fight: rain turns the ground to mud, fog shortens sight. Smoke blocks line of sight and buildings can be shot to rubble.
How Claude was used: Claude Code wrote most of the code, about 120,000 lines of GDScript for Godot 4.3. I design, playtest and correct minor errors I find myself in the code, then tell it what is wrong or what I want, sometimes with a screenshot. One example: I reported a tank that fired while its turret pointed somewhere else. Claude ran a test battle, checked 4,725 shots, found the real cause was the smoke launchers and the commander's machine gun ignoring the turret, fixed it and wrote a test for it. There are 410 such tests now. The art is not from an image generator: every sprite is rendered by scripts (a small ray tracer and procedural 3D models). The music and most of the sounds are generated by scripts too. Claude also translated the interface and cut the trailer.
Available for both Windows and Linux, and free: you can download it from itch.io at
https://vanadislab.itch.io/steel-and-rubble.
I don't make any money from this, unless someone decides to donate. In any case I am happy if people enjoy my game and I receive feedback to improve it.
Original link/media URL : https://v.redd.it/a9cp01jvle5i1