Anuken/Mindustry

Games

An open-source tower-defense game that combines resource automation with scripting, for players who want base-building depth on desktop or Android.

29,489
3,823
Java
GPL-3.0
9 years old

Mindustry is worth a look if you enjoy factory-style automation but want it wrapped in tower-defense combat and a short, replayable campaign. It is a finished, playable game first and a codebase second, so the decision is about whether its depth suits you, not about whether it ships.

The problem

A tower-defense player normally picks a map, places turrets along a fixed path, and reacts to waves. That loop becomes predictable once the optimal layouts are known. Mindustry changes the early step: instead of buying turrets with a fixed budget, you mine ore, run conveyor lines, and feed production chains that supply ammo and power to your defenses. The result is that base layout, logistics and defence are one continuous design problem, and each wave tests the whole chain rather than a single placement decision.

What's different

The distinguishing mechanism is the coupling between economy and combat. Conveyors, drills and factories are not decorative: they determine whether turrets have ammunition and whether your core survives. That makes the learning curve steeper than a conventional tower defense, and it also gives the game a longer planning horizon. Mistakes compound, and a rebuild after a bad layout is often more work than a restart.

The project also exposes in-game Logic scripting, a low-level programming system for automating behaviour. An HN commenter noted on 2024-09-29 that this Logic is closer to assembly than to a high-level language and pointed to a separate high-level compiler, Mindcode, as a way to make it more approachable. That is a real trade-off: scripting gives tinkerers room to build custom control logic, but most players will treat it as optional or ignore it. The other cost is simply time; Mindustry's factory layer is deep enough that one HN commenter described losing many hours to it before moving on to Factorio (comment).

Who should try it

This fits players who finished Factorio or similar automation games and want a combat-heavy variant with shorter sessions, including on Android. One commenter who likes tower defense as a light time-waster said Mindustry required too much thinking and they bounced off quickly, while still recommending it to others (comment). That is the clearest poor-fit signal: if you want a casual wave-defence game, the production chains will feel like work. Conversely, if you enjoy planning supply lines and don't mind failing a map to learn its constraints, the combination is the draw.

Requirements and limitations

As a game, the main requirement is time and tolerance for a steep opening. The scripting layer is optional; you can play the campaign without it, so the low-level nature of Logic is not a barrier to entry. Building from source is a separate, developer-facing path: the README pins JDK 17 and explicitly says other versions will not work, and the Android build requires the command-line SDK and a configured device (build instructions). Most players should simply install a released build from one of the listed stores rather than compile it.

The licence is GPL-3.0, which matters if you plan to fork, redistribute or bundle the game. Multiplayer and server builds exist, but the README treats server compilation as a manual, build-from-source step, so self-hosting is a developer task rather than a download-and-run one.

HotRepo's take

HotRepo recorded a single daily-board observation on 2026-10-27, with 29,487 stars and +17 that day. That sample is too thin to judge whether interest is rising or fading; it is one dated snapshot, not a trend. The practical question is not popularity but fit: check whether the campaign's factory complexity is what you want from a tower-defense game before committing the hours. A quick look at the wiki and the project site should settle that.

Hacker News

Mindustry: Automation Tower Defense RTS with Deep Strategy and Modding
▲ 75 · 11 comments · September 29, 2024
Mindustry: A open-source sandbox tower defense game
▲ 40 · 6 comments · January 3, 2021
Mindustry
▲ 2 · 1 comment · June 12, 2026

Written by AI from the project's README, updated October 27, 2026. The project's own docs are the source of truth.