How realitydenied/rural-planning-game works
Project type and purpose
• This is a full-stack, real-time GIS-based game built in Unity for Android/iOS, supplemented by web services for GIS data processing and a Node.js/MongoDB backend.
• Purpose: Allow players to plan rural infrastructure (roads, buildings, water points) on drone/GIS maps and provide an admin analytics panel for policymakers.
File structure
• Top-level directories:
• Assets/ – Unity client code (C# scripts, scenes, prefabs, shaders).
• Packages/ & ProjectSettings/ – Unity config and package manifest.
• .utmp/RelWithDebInfo – Native Android build artifacts (CMake, Ninja, GameActivity plugin).
• buildss/ – Burst-compiled native libs for Android.
• Assets/PlayFabSDK – PlayFab authentication & profile management plugin.
• Assets/Plugins – Firebase native libs for iOS/tvOS and Android Gradle templates.
• No Node.js/MongoDB or Python code present here—those services live in separate repos or the cloud.
README for architecture insights
• GIS data fetching & boundary extraction: Python with OSMnx & Overpass API.
• Conversion: Three.js service transforms 2D GIS into glTF/OBJ models stored in cloud.
• Game integration: Unity loads those models at runtime, presents touch-based UI.
• Online services:
• PlayFab for authentication & matchmaking.
• Custom Node.js + MongoDB backend for admin analytics and in-game scoring.
• Deployment targets: Android (Java/Kotlin Gradle), iOS (Xcode), WebGL (optional).
Detail
• Major Unity subsystems (Assets, Plugins, Scenes, Scripts) if deep dive is needed.
• Authentication flow (token issuance, attach to subsequent calls).
• Performance-critical paths (model download, real-time scoring).