Nation Engine
Create a comprehensive browser-based nation simulation game using JavaScript and TypeScript with the following features: a UI with a dark theme toggle, resource bar at the top showing Gold, Minerals, Goods, and Power; side tabs for Account, Tutorial, Nation, Revenue, Military, Edit Nation, Projects, Leaderboard, and World News; a main content area that changes based on selected tab; a nation management system including cities, land, and a "Resource Network" for building Power Plants, Mining Sites, Commerce Centers, and Manufacturing Plants to gather and produce resources; a plots system for constructing buildings; a military system with Ground Units (Barracks), Naval Units (Naval Factory), Aircraft (Air Factory), and Armored Vehicles (Factory); a policy, government, and ideology system with change cooldowns and strategic bonuses/debuffs; a projects system to purchase upgrades for productivity, defense, or attack power; alliance features allowing players to create, join, or leave alliances; and a news system for world and alliance updates. Implement the core data structures, UI layout, and interaction points as a starting framework, leaving placeholders for game logic, persistence, multiplayer functionality, and detailed interactions for further development. Use a framework like Vue.js or React to structure the app, with reactive state management for resources, nation status, military, alliances, and UI state, and include styling options for dark and light themes.
14h