# Anuken/Mindustry

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/anuken-mindustry).**

26,624 stars · 3,348 forks · Java · gpl-3.0

## Links

- GitHub: https://github.com/Anuken/Mindustry
- Homepage: https://mindustrygame.github.io
- awesome-repositories: https://awesome-repositories.com/repository/anuken-mindustry.md

## Topics

`android` `desktop` `game` `java` `mindustry` `mobile-game` `multiplatform` `rts` `sandbox-game` `tower-defense`

## Description

Mindustry is a cross-platform game engine and factory automation simulation that combines resource management with tower defense strategy. Players construct complex supply chains and automated networks to process materials while building defensive structures to protect a core from waves of hostile mechanical forces.

The project utilizes a deterministic lockstep networking model to ensure simulation consistency across desktop and mobile devices. It is built on an entity-component-system architecture and a tile-based grid simulation, allowing for the efficient management of thousands of active units and game objects. A custom bytecode scripting system and integrated asset tools provide a moddable sandbox environment, enabling users to extend core mechanics and create custom content.

The engine optimizes performance through spatial partitioning for collision detection and atlas-based texture batching to manage GPU memory. Project documentation and reference materials are maintained through community-driven contributions via pull requests.

## Tags

### Game Development

- [Game Engines](https://awesome-repositories.com/f/game-development/game-engines-frameworks/game-engines.md) — Provides a unified environment for executing simulation logic and managing game state across desktop and mobile platforms.
- [Factory Automation Games](https://awesome-repositories.com/f/game-development/open-source-games/genres/factory-automation-games.md) — Features a resource management simulation centered on constructing complex supply chains and defensive structures.
- [Tower Defense Games](https://awesome-repositories.com/f/game-development/open-source-games/genres/tower-defense-games.md) — Implements automated supply chain management and defensive structure placement to defend against enemy waves.
- [Entity Component Systems](https://awesome-repositories.com/f/game-development/engine-architecture/entity-component-systems.md) — Implements a high-performance data-oriented architecture for managing game objects and simulation logic.
- [Cross-Platform Engines](https://awesome-repositories.com/f/game-development/game-engines-frameworks/cross-platform-engines.md) — Enables the development of high-performance games that run seamlessly across desktop and mobile devices using a unified codebase.
- [Deterministic Networking](https://awesome-repositories.com/f/game-development/online-multiplayer/deterministic-networking.md) — Synchronizes game state by exchanging player inputs to ensure identical simulation results across all connected clients.
- [Entity Simulation Engines](https://awesome-repositories.com/f/game-development/simulation-engines/entity-simulation-engines.md) — Provides specialized data structures and logic for managing thousands of active game objects with high-performance collision and update cycles.
- [Grid Simulation Engines](https://awesome-repositories.com/f/game-development/simulation-engines/grid-simulation-engines.md) — Implements a discrete two-dimensional grid system where individual cells manage independent state and resource processing logic.
- [Modding Frameworks](https://awesome-repositories.com/f/game-development/tooling-asset-pipeline/modding-frameworks.md) — Provides a community-driven environment with extensive support for custom map creation and game modifications.
- [Spatial Partitioning Systems](https://awesome-repositories.com/f/game-development/engine-architecture/spatial-partitioning-systems.md) — Organizes game entities into a spatial grid to accelerate collision detection and proximity queries for large numbers of active units.
- [Texture Optimization Tools](https://awesome-repositories.com/f/game-development/tooling-asset-pipeline/texture-optimization-tools.md) — Optimizes rendering performance by packing multiple game assets into single large images to minimize draw calls.

### Business & Productivity Software

- [Resource Management Systems](https://awesome-repositories.com/f/business-productivity-software/resource-management-systems.md) — Coordinates the extraction, transport, and processing of raw materials to support industrial production and strategic expansion.

### Programming Languages & Runtimes

- [Scripting Engines](https://awesome-repositories.com/f/programming-languages-runtimes/language-interoperability/scripting-engines.md) — Executes game logic and modded content through a lightweight virtual machine for cross-platform compatibility.
