{"repo":"mohsansaleem/CityBuilder","free":true,"listed":false,"github":"https://github.com/mohsansaleem/CityBuilder","clone":"git clone https://github.com/mohsansaleem/CityBuilder.git","description":"Scalable city building game demonstrating enterprise-grade architecture with persistent state management, generic systems, and data-driven design for rapid feature expansion.","language":"C#","stars":40,"topics":["unity","promises","gamestate","generics","unity3d","zenject","mvc","unirx","reactive-programming","city-builder"],"license":null,"category":"game-templates","readme_excerpt":"CityBuilder Scalable Game Architecture with Persistent State Management A production-ready city building game demonstrating enterprise-grade architecture patterns for persistent game state, resource management, and extensible building systems. Built with patterns proven across 10+ years developing strategy titles at Ubisoft and other studios. 🎥 Demo 🎮 Core Features Resource Management – Automated TownHall production with manual collection for secondary buildings Dynamic Building System – Expandable building types via static data configuration State Persistence – Robust game state serialization and recovery Interactive Modes – Build and move modes with intuitive placement system 🏗️ Technical Architecture Production-Grade Patterns: - MVP (Model-View-Presenter) – Enforced separation of concerns for maintainable codebase - Dependency Injection (Zenject) – Loosely coupled components for scalability - Reactive Programming (UniRx) – Efficient event-driven state updates - State Machine – Clean mode transitions (Build/Move/Regular states) - Generic Object Pooling – Optimized memory allocation for mobile performance - Promises (C#) – Non-blocking asynchronous operations Data Architecture: - Metadata-driven building system via ScriptableObjects - Persistent game state with JSON serialization - Separation of static data and runtime state for clean save/load 📁 Project Structure 🔧 Tech Stack Technology Purpose ----------- --------- Unity 2019.4.0f1 Game engine Zenject Dependency injec","default_branch":null,"files":null,"tree":[],"storefront":"/r/mohsansaleem","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mohsansaleem/CityBuilder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}