Forge of Empires - MMO Strategy Game

Seele01-Flash
By
Forge of Empires is an epic MMO strategy game where you build and expand your empire through different historical eras. Start from the Stone Age and advance through time, managing resources and conquering territories in this free-to-play browser game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Forge of Empires: Eras Evolution". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly Isometric City Builder style. The aesthetic must support distinct visual changes based on the "Era." * **Stone Age Mode:** Terrain is lush green with rocky patches. Buildings are thatched huts, stone circles, and primitive workshops (wood/stone textures). * **Modern Age Mode:** Terrain changes to paved concrete grids. Buildings evolve into steel/glass skyscrapers, factories, and neon-lit structures. * **Camera:** Use an `OrthographicCamera` to create a classic isometric strategy view (`zoom: 20`, positioned at `50, 50, 50`, looking at `0, 0, 0`). * **Performance Optimization:** Use `THREE.InstancedMesh` for ground tiles and repeated building assets to ensure 60fps on mobile devices. Use simple geometry (box primitives with distinct colors/textures) rather than loading heavy GLTF models for this prototype. * **Lighting:** A warm `DirectionalLight` casting soft shadows to emphasize building height, plus an `AmbientLight` to ensure visibility. ### 2. Audio Requirements * **BGM (Background Music):** A progressive track that starts with tribal drums and flutes (Stone Age) and cross-fades into a synthesizer-heavy electronic track (Modern Age) when the player advances eras. * **Sound Effects (SFX):** * **Construction:** A "hammering" or "whoosh" sound when placing a building. * **Collection:** A satisfying "coin jingle" when collecting resources from buildings. * **UI:** distinct "wood click" for Stone Age menus and "digital blip" for Modern Age menus. ### 3. Gameplay Loop * **Core Mechanic:** An incremental City Building simulation. * **Grid System:** The map is a clickable 10x10 grid. * **Resource Generation:** Buildings generate "Gold" and "Supplies" over time. * **Interaction:** Player must tap buildings with floating icons to collect resources. * **Progression (The "Forge" Mechanic):** * The player starts in the **Stone Age**. * Goal: Accumulate enough resources to research "Industrialization." * **Evolution:** Upon clicking the "Evolve Era" button, a particle effect shockwave sweeps across the map, instantly transforming all primitive assets into modern assets (Huts -> Skyscrapers). * **Win Condition:** Successfully fully populate the grid and reach the Modern Age. ### 4. Mobile Controls & Interaction * **Touch Input (Raycaster):** Implement precise Raycasting for touch events. * **Tap Terrain:** Selects a grid tile to open the "Build Menu." * **Tap Building:** Collects resources or shows info. * **Camera Control:** * **Pan:** One-finger drag to move the camera across the map. * **Zoom:** Two-finger pinch (or a simple UI slider on the right side) to zoom in/out. * **UI/UX:** * **HUD:** Fixed header showing Gold/Supplies counters. * **Action Buttons:** Large, thumb-friendly Floating Action Buttons (FAB) at the bottom right for "Build" and "Evolve." * **Responsiveness:** The canvas must resize automatically on device orientation change (Landscape/Portrait), maintaining the isometric aspect ratio. * **Feedback:** Add a subtle "squash and stretch" animation to buildings when tapped to simulate haptic feedback visually. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Forge of Empires is a truly epic massively multiplayer online (MMO) strategy game that takes you on an incredible journey through human history. With an outstanding rating of 4.89 out of 5 stars, this game has captivated players worldwide with its deep strategic gameplay and immersive empire-building mechanics.

In this comprehensive strategy experience, you'll start with a humble Stone Age settlement and gradually build it into a mighty empire that spans across multiple historical eras. From primitive tools to advanced technologies, you'll witness and guide your civilization's evolution through the ages.

Core Features

Epic Historical Journey

Experience the complete arc of human civilization as you progress through distinct historical periods: - Stone Age : Begin with basic survival and primitive tools - Bronze Age : Develop metalworking and early agriculture - Industrial Era : Harness steam power and mechanization - Modern Age : Embrace information technology and beyond - Future Eras : Explore what lies ahead for humanity

Strategic Resource Management

Success in Forge of Empires requires masterful resource management. You'll need to: - Balance population growth with available housing - Manage multiple resource types including coins, supplies, and goods - Plan your city layout for maximum efficiency - Trade with other players to acquire rare materials - Research new technologies to unlock advanced buildings and units

Massive Multiplayer Experience

As a true MMO, Forge of Empires connects you with players from around the world: - Join guilds and form alliances with other empire builders - Participate in epic guild vs guild battles - Trade resources and goods in the global marketplace - Compete in seasonal events and tournaments - Collaborate on massive construction projects

Dynamic Combat System

Expand your territory through strategic warfare: - Build and command diverse military units - Engage in tactical turn-based battles - Conquer neighboring provinces to expand your empire - Defend your territories from rival players - Negotiate diplomatic solutions when warfare isn't favorable

Game Mechanics

City Building and Development

Your empire's foundation lies in smart city planning. Construct residential buildings to house your population, production facilities to generate resources, and cultural buildings to keep your citizens happy. Each era brings new architectural possibilities and more efficient structures.

Technology Research

Advancement through the ages requires strategic research choices. The technology tree offers multiple paths, allowing you to specialize in military might, economic prosperity, or balanced development. Your research decisions will shape your empire's strengths and capabilities.

Guild Cooperation

Join forces with other players in powerful guilds. Participate in guild expeditions, contribute to shared research projects, and work together to construct magnificent Great Buildings that provide empire-wide bonuses.

Why Play Forge of Empires

Free-to-Play Accessibility

Forge of Empires is completely free to play with no mandatory purchases. While premium options exist to accelerate progress, skilled players can achieve greatness through strategic thinking and patience alone.

Cross-Platform Gaming

Play seamlessly across devices with full cross-platform support. Start your empire on your computer and continue building on your mobile device wherever you go.

Regular Content Updates

The game receives frequent updates with new eras, events, and features, ensuring that your empire-building adventure never grows stale.

Educational Value

Learn about human history and technological advancement while enjoying engaging gameplay. The game's historical accuracy makes it both entertaining and educational.

Whether you're a strategy gaming veteran or new to the empire-building genre, Forge of Empires offers an accessible yet deep experience that will keep you engaged for months and years to come.

Frequently Asked Questions (FAQ)