Resources
Wood
0
+0/s
Stone
0
+0/s
Wheat
0
+0/s
Fish
0
+0/s
Workers
0 / 0
(0 idle)
Open Modules
Click to open resource windows. Bigger windows = more resources!
How to Play
- Open modules by clicking the cards above
- Resize windows to increase resource production
- Build houses in the City to get workers
- Build production buildings to multiply your resource gains
- Avoid overlap! Overlapping windows reduce production
👑 Crown Bonus ▼
🌲 Forest
+15% production per closed module (max +75%)
⛰️ Mountain
+25% of stone rate as bonus wood
🌾 Meadow
Does not block other modules when overlapping
🌊 Water
-50% fish consumption by workers
⚡ Events ▼
🔥 Wildfire
Reduces Wood production by 50%+. To fix: Cover Forest with
Water module (75%+ overlap).
🏔️ Landslide
Stops Stone production. To fix: Shrink Mountain window below
50% size.
🦗 Locust Plague
Stops Wheat production. Lasts 60s - wait it out.
🌊 Tsunami
Reduces all near-water production by 15-75%. To fix: Close
affected modules.
🏚️ Earthquake
Destroys 20% of your buildings instantly. Rebuild to
recover.
🛠️ SDK Tech Demo Info ▼
About this Demo
This game is a technical showcase for modulon-sdk,
demonstrating advanced multi-window web capabilities.
🔄 Multi-Window Sync
Uses
SharedWorker to synchronize 60fps game state across all open
windows with zero latency.
⚡ Zero-Latency RPC
Actions in the City window (like building) trigger instant updates in the Main
window via the SDK's message bus.
📐 Geometry Tracking
The SDK tracks the screen position of every window in real-time to calculate
overlaps (e.g., covering Forest with Water).
🔒 Instance Locking
Prevents duplicate resource modules. Try opening "Forest" twice - the SDK's
distributed lock will block it.
👑 Authority System
Tracks window focus across the operating system to grant the "Crown" bonus to
the currently active window.