About this project

EconSpace is an engineering-driven prototype of a 2D space simulation. It utilizes an authoritative server model where the server handles all game logic and the client acts as a renderer and input source. The game uses a unique visual language based on glyphs to represent objects, allowing for easy addition of new entity types via JSON archetypes without requiring new art assets. Key capabilities include: - Gameplay Mechanics: Newtonian-style flight, warp travel, mining, station-based trading with price impact, combat, and a mission system (bounty, mining, and delivery). - World Simulation: A persistent multi-system galaxy with jump gates, faction reputation, and role-based NPC AI (traders, police, pirates). - Technical Architecture: A fixed 1/60 tick simulation decoupled from rendering, implementing client-side prediction, server reconciliation, and entity interpolation. - Tooling: A visual world editor for designing systems and galaxy links, and a headless server for simulation. - AI Integration: Includes 'econagent', an MCP server that allows LLM agents to observe the world as text and issue commands. The project is developed in C++17 and relies on raylib for windowing and rendering, and nlohmann/json for data management.