Build a polished, playable browser game: Make it a map strategy game set in medieval…
- User
Build a polished, playable browser game: Make it a map strategy game set in medieval Europe.. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
Assistant
I have built Crown & Conquest: Medieval Empire, a fast-paced, medieval map strategy game set across Europe.
Highlights & Key Features Built
-
Core Strategy Loop:
- Interactive, high-performance SVG & Canvas map featuring 28 historical European provinces (London, Paris, Constantinople, Rome, Venice, Toledo, Vienna, Krakow, Kyiv, Novgorod, Anatolia, etc.).
- Dynamic real-time troop generation, fortress upgrades (Palisade, Stone Keep, Citadel, Imperial Fortress), and gold revenue generation.
- Intelligent AI Warlord kingdoms that expand and contest territories dynamically.
-
Tight Controls for Desktop & Mobile:
- Mouse & Touch Dragging: Drag an army line from any owned territory directly to a target province to dispatch troops.
- Tap Selection: Tap to select and manage province garrisons, trigger rapid levies, or upgrade fort walls.
- Hotkey Shortcuts:
Space: Pause / Resume battle1,2,3,4: Quick Army Dispatch percentage (25%, 50%, 75%, 100%)Q,W,E,R,T: Royal Hero Abilities (Forced March, Royal Rally, Siege Bombard, Bribe Host, Iron Shieldwall)
-
Juicy Visual & Audio Feedback:
- Screen shake effect on heavy trebuchet bombardments and fortress falls.
- Procedural canvas particle engine (sword sparks, blood drops, dust trails, golden banners, siege fires).
- Dynamic 60fps marching troop units, floating damage numbers, and conquer fanfare text.
- Web Audio API synthesizer generating sword clashes, marching drums, cavalry horns, coin chimes, victory fanfare, and ambient medieval lute music without external assets.
-
Complete Game States & Game Modes:
- Start Screen: Select from 5 Campaign Chapters, Quick Skirmish, Endless Siege, and Custom Sandbox modes across 8 historical kingdoms with unique perks and mottoes.
- Pause Menu: Quick control guide, audio settings, restart, and abandon options.
- Coronation / Defeat Modal: Confetti victory fanfare, detailed stats breakdown (casualties, conquest time, gold earned), rank grade (S/A/B/C), name entry, and instant retry.
- Hall of Fame Leaderboard: Local high-score table saved in
localStorage.
Files built:
src/types/game.ts,src/data/factions.ts,src/data/mapData.ts,src/utils/audio.ts,src/components/EuropeMapSvg.tsx,src/components/MapCanvas.tsx,src/data/upgrades.ts,src/components/StartScreen.tsx,src/components/GameHUD.tsx,src/components/UpgradesModal.tsx,src/components/EventBanner.tsx,src/components/PauseModal.tsx,src/components/GameOverModal.tsx,src/components/LeaderboardModal.tsx,src/App.tsx,index.html-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.