Image: reddit.com · Video still: Built a space war game with Claude Code - two AI factions battle using LLM-powered tactics
A browser space war game whose fleets take orders from a local LLM
A three.js game where two factions fight over a solar system, with ships steered by a local Ollama model and boids flocking, built with Claude Code.
Credits
- Reddit poster Appropriate-Wind-184 Source ↗
Earliest dated source:
The full story
A three.js space game, built over several sessions with Claude Code, in which two factions fight for control of a solar system. Each side has a Dyson Sphere base that spawns ships, and destroying the enemy's sphere cripples its war effort.
The ships are directed by a "Hive Mind" that asks a local LLM running in Ollama for tactical decisions, and they move as squadrons using boids flocking. You can fly in and join the battle or just watch. Claude Code helped with the ship AI, the faction warfare system, the combat and debugging.
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: Built a space war game with Claude Code - two AI factions battle using LLM-powered tacticsReddit poster: Appropriate-Wind-184Posted
The maker's post on r/ClaudeAI.
If it disappears: archived copy of Reddit: Built a space war game with Claude Code - two AI factions battle using LLM-powered tactics (opens in a new tab)