A clone of Civilization IV (2005). It is written from scratch (no game engine) and has, at various points in time, consisted of C++ or Lua code. Now, the whole implementation is in Rust. The legacy C++ code is still available in the src
directory.
The graphics rendering uses dume
, a 2D renderer I wrote on top of WebGPU, and the UI is based on duit
, another one of my libraries.
- Multiplayer support via networking, proxied through the server in the
backend
application - Procedural map generation using Simplex noise, Poisson sampling, and some other clever tricks
- Basic AI players
- Economy simulation
- Combat simulation
- Cultural influence
- Unit optimal pathfinding
- Many UI components to view the internal economy and production calculations
- Many sound effects from the original game, as well as music dependent on the current era
- Most of the units and technologies of Civ IV through the Medieval Era