🌾 1. Economy & Supply Lines
Swarajya operates on a physical, three-resource economy. Resources are not abstract numbers — they are harvested, held, and hauled across physical terrain.
🟡 Gold (Suvarna)
Mined by Praja (Peasants) from glowing mountain ore seams. Pays for all unit training, building construction, and weapon upgrades.
🌲 Timber (Daruka)
Felled by Praja from alpine cedar and pine forests. Required for raising building timber frames, watchtowers, and siege artillery.
🌾 Food (Dhanya)
Cultivated on Kshetra (Farms). Sustains your standing army. An army with zero food begins to suffer starvation morale loss.
📦 Supply Carts (Shakata)
Peasants drop loads at forward Kosha (Warehouses). Automated Carts must haul goods to your Asana (Manor) before they can be spent. Kill enemy carts to sever supply lines!
🗺️ 2. Strategic Battleground Maps
| Map Name | Seats | Dimensions | Topography & Tactical Features |
|---|---|---|---|
| The Crucible (कुण्ड द्रोणी) | 4 Players | 144 × 144 | 1:1 recreation of the classic Warrior Kings caldera. 4 elevated corner plateaus, steep ramp bottlenecks, sunken river basin with wide fords, and contested central gold monolith. |
| Valley of Four Kings (चतुर्नृप) | 4 Players | 160 × 160 | Vast asymmetric Himalayan landscape with meandering glacial rivers, southwest alpine lake, deep canyon gorge, and central mountain fortress. |
| Kailash Sanctum (कैलाश धाम) | 2 Players | 144 × 112 | Mount Kailash axis mundi standing between sacred glacial lakes. Contested high-altitude passes and treacherous gold ridges. |
| Trishul Pass (त्रिशूल दर्रा) | 2 Players | 128 × 96 | Three sharp peak ridges dividing alpine valleys. Two narrow switchback corridors contested by glacial streams. |
| Kingsmoor | 2 Players | 112 × 84 | Classic river valley with three ford crossings, dense woods, sniper hill bluffs, and contested central gold. |
🏰 3. Complete Building Catalog (14 Structures)
| Building | Sanskrit Name | Cost | HP | Tier | Function & Special Mechanics |
|---|---|---|---|---|---|
| Manor / Great Hall | Asana (आसन) | Starting Free | 2400 | Tier 0 | Central HQ. Trains Peasants, stores goods, fires defensive arrows (11 Dmg, 150 Range). |
| Warehouse | Kosha (कोश) | 60🪙 50🌲 | 400 | Tier 0 | Forward drop-off depot. Stores 1100 Grain. Trains automated supply Carts. |
| Farm | Kshetra (क्षेत्र) | 40🪙 30🌲 | 260 | Tier 0 | Cultivated barley fields worked by peasants to provide grain supply. |
| Barracks | Akhara (अखाड़ा) | 120🪙 90🌲 | 700 | Tier 0 | Trains Spearmen (*Shulin*), Archers (*Dhanurdhara*), and Sadhika mystics. |
| Royal Armory & Foundry | Khaḍga Shala | 160🪙 140🌲 | 850 | Tier 0 | Heavy forge. Enhances armor resilience and constructs War Chariots (*Ratha*). |
| Watch Beacon | Dhvaja Stambha | 50🪙 80🌲 | 500 | Tier 0 | High mountain spire with eternal brazier granting 450 sight radius through fog. |
| Watchtower | Prahari (प्रहरी) | 80🪙 70🌲 | 520 | Tier 0 | Automated defense tower (9 Dmg, 165 Range) to guard mining outposts. |
| Stone Wall | Prakara (प्राकार) | 8🪙 18🌲 | 620 | Tier 0 | Mountable stone rampart. Archers & Mystics on battlements gain +50% Range and +35% Defense. |
| Gatehouse | Dwara (द्वार) | 45🪙 60🌲 | 900 | Tier 0 | Interactive fortified gate with swinging doors. Auto-opens for allies and locks shut against enemy siege. Mountable by ranged units. |
| Bridge | Setu (सेतु) | 10🪙 40🌲 | 340 | Tier 0 | Walkable wooden structure constructed directly over river water tiles. |
| Stables | Vaji Shala (वाजि शाला) | 180🪙 110🌲 | 800 | Tier 1 | Trains fast cavalry: Lancers (*Ashvarohi*) and Mounted Archers (*Mrigayini*). |
| Bastion (Steadfast) | Shira Durg (शिर दुर्ग) | 200🪙 200🌲 | 1200 | Tier 1 | Vanashira Path House. +25% HP to all buildings; trains Heavy Guards (*Kshetrapala*). |
| Shrine (Mother-Energies) | Mantra Shala | 360🪙 180🌲 | 1000 | Tier 1 | Matrika Path House. +12% Speed to all units; trains Dragons, War Bears, Witches. |
| Workshop (Bare Frame) | Asthi Shala | 190🪙 160🌲 | 900 | Tier 1 | Kankala Path House. Trains Field Engineers, Battering Rams, Guardians, Witches. |
⚔️ 4. Complete Unit Roster (16 Units)
| Unit | Sanskrit | Cost | HP | Dmg | Spd | Rng | Combat Role & Tactica |
|---|---|---|---|---|---|---|---|
| Peasant | Praja | 30🪙 | 28 | 2 | 46 | 16 | Mines gold, chops cedar wood, farms grain, and builds all structures. |
| Supply Cart | Shakata | 30🪙 40🌲 | 90 | 0 | 58 | 0 | Automated hauler (300 cap) ferrying goods from Kosha to Manor. |
| Spearman | Shulin | 25🪙 30🌾 | 70 | 9 | 52 | 22 | Frontline infantry backbone; hard counter to cavalry charges. |
| Archer | Dhanurdhara | 35🪙 15🌲 30🌾 | 42 | 7 | 48 | 120 | Ranged volley unit (60 Ammo); gains massive reach advantage from high cliffs. |
| Lancer | Ashvarohi | 70🪙 55🌾 | 130 | 17 | 92 | 24 | Fast shock cavalry for flanking, chasing down archers, and raiding carts. |
| Mounted Archer | Mrigayini | 80🪙 20🌲 55🌾 | 72 | 10 | 86 | 100 | Fast skirmisher (45 Ammo); fires on the gallop with high mobility. |
| Sadhika Adept | Sadhika | 110🪙 70🌾 | 85 | 16 | 62 | 115 | Tantric mystic; channels piercing lightning bolts and defensive wards. |
| War Chariot | Ratha | 120🪙 90🌲 50🌾 | 240 | 20 | 76 | 160 | Mobile ballista chariot (3× building damage multiplier). |
| Field Engineer | Sthapati | 45🪙 20🌲 30🌾 | 46 | 4 | 44 | 18 | Constructs Catapults and Mangonels directly out on the battlefield. |
| Catapult | Kshepani | 110🪙 100🌲 | 150 | 24 | 0 | 300 | Heavy fixed siege engine (5× vs buildings); colossal 300 range. |
| Mangonel | Shila Yantra | 70🪙 70🌲 | 110 | 9 | 0 | 190 | Rapid-fire stone thrower (2× vs buildings); fixed artillery. |
| Battering Ram | Dwaraghna | 60🪙 120🌲 | 320 | 12 | 26 | 30 | Heavy armored siege engine (8× vs buildings); crushes gates. |
| Heavy Guard | Kshetrapala | 75🪙 25🌲 50🌾 | 190 | 15 | 38 | 22 | Immovable defensive wall (190 HP); holds mountain chokes and gates. |
| Conversion Mystic | Mantrini | 220🪙 90🌾 | 60 | 3 | 50 | 20 | Permanently converts enemy units over 60s ritual chanting. |
| War Bear | Rksha | 260🪙 160🌾 | 900 | 20 | 34 | 28 | Colossal siege beast (900 HP, 4× vs buildings); soaks enormous punishment. |
| Flying Serpent | Kankana Naga | 300🪙 140🌾 | 340 | 26 | 96 | 70 | 8-headed flying dragon; completely ignores terrain, cliffs, and rivers. |
🌳 5. The 3-Tier Tech Tree & Divergent Alignment System
⌨️ 6. Controls & Hotkeys Quick Reference
| Action | Hotkey / Mouse Control | Description |
|---|---|---|
| Camera Panning | W A S D or Arrow Keys | Smoothly glides the tactical camera across the battlefield. |
| Speed Acceleration | Shift + WASD | Accelerates camera panning speed by +50% for rapid navigation. |
| Center Camera | Space | Snaps camera directly over selected units, or returns to base if no selection. |
| Minimap Navigation | Left-Click / Drag on Minimap | Instantly jumps camera to that exact world coordinate. |
| Camera Orbit & Pitch | Right-Click Drag or Middle-Click Drag | Rotates panoramic yaw angle and tilts pitch from low vista to top-down. |
| Camera Zoom | Mouse Scroll Wheel | Smoothly zooms from close-up combat to high-altitude panoramic view. |
| Idle Peasant | E or . | Selects and focuses camera on the next unassigned idle peasant. |
| Tactical Chat | Enter | Opens scrollable match chat history. Press Tab to cycle [ALL] / [ALLIES] / [Whisper]. |
| Diplomacy & Pacts | P or F2 | Toggles diplomacy modal to adjust Ally / Neutral / Enemy stances and send tributes. |
| Ctrl Multi-Build & Queue | Hold Ctrl + Left/Right-Click | Place multiple walls/farms in rapid succession without exiting build mode; queues movement and attack orders. |
| Control Groups | Ctrl + 1–9 / 1–9 | Ctrl+1..9 assigns selected squadron. Press 1..9 to recall. Double-tap to center camera on group. |
| Patrol & Guard Orders | P (Patrol) / G (Guard) | P + click sets continuous waypoint patrol route. G + click escorts and defends allied unit, hero, or structure. |
| Always-On Health Bars | Alt or Tab | Toggles continuous overhead health bars for all units and buildings across the battlefield. |
| Formations Cycle | F | Cycles selected squadron between Line (Danda), Hawk wedge (Shyena), Circle (Mandala), and Loose order (Asamhata). |
| Combat Stances | Z X C V | Z Aggressive (pursue on sight) | X Defensive (guard post) | C Stand Ground (hold rank) | V Hold Fire (stealth). |
| Cancel / Close Menu | Esc | Clears current selection, cancels blueprint placement, or opens settings menu. |
🌐 7. Serverless WebRTC Peer-to-Peer Multiplayer
Swarajya 3D features 100% serverless WebRTC multiplayer running directly in your browser:
- Host a Room: Go to the 🌐 Online 1v1 tab and click Host Realm Room to receive a 5-letter code (e.g.
KSET9). - Join a Room: Have your friend enter
KSET9and click Join Realm Room. - Global Direct P2P: Connects browsers directly over low-latency WebRTC DataChannels using Google STUN without requiring any backend servers!
👑 8. Legendary Heroes & Generals (Siddhas & Senapatis)
Heroes are formidable commanders who inspire friendly formations with persistent combat auras, level up from battle experience (XP), and possess unique active capabilities.
| Hero | Title & Role | Base Stats | Radiant Aura | Abilities |
|---|---|---|---|---|
| 👑 Senapati | Supreme Himalayan General (Mounted) | 450 HP • 28 DMG • 84 SPD | Aura of Valour: +25% Attack Speed and +15 Armor to all nearby friendly soldiers. | 📯 War Horn of Valour (+35% Dmg) • 🌪️ Trample Cavalry Charge |
| 🔮 Kaula Acharya | Tantric Sage & Master Adept | 320 HP • 24 DMG • 56 SPD | Aura of Prana: +2.4 HP/sec continuous regeneration to all nearby friendly units. | ⚡ Vajra Lightning Storm (65 AoE) • 🛡️ Kavacha Spiritual Ward |
Hero Progression (Levels 1–5): Heroes gain +20 to +100 XP when enemy units are defeated nearby. Leveling up expands their aura radius by +15%, increases max HP by +25%, and fully heals their wounds.
⚡ 9. Mystic Tantric Spells & Active Unit Abilities
| Ability | Casters | Cooldown | Tactical Effect |
|---|---|---|---|
| ⚡ Vajra Storm | Sadhika, Kaula Acharya | 6.0s (120 ticks) | Channels celestial lightning arcing across up to 4 enemy units for 65 magic damage. |
| 🛡️ Kavacha Warding | Sadhika, Kaula Acharya | 8.0s (160 ticks) | Conjures a glowing spiritual energy dome granting +60 temporary shield to all allies in radius. |
| 🌪️ Trample Charge | Ratha (Chariot), Senapati | 7.0s (140 ticks) | Surges forward at double speed, dealing 45 impact damage and knocking back infantry formations. |
| 🔥 Agni Shila | Kshepani (Catapult) | 9.0s (180 ticks) | Launches a flaming boulder that creates a burning fire patch on the ground dealing continuous area damage. |
| 📯 Aura of Valour | Senapati | 8.0s (160 ticks) | Sounds the Himalayan war horn, empowering all friendly troops in range with +35% damage for 8 seconds. |
📜 10. Single-Player Story Campaign (The Himalayan Chronicles)
Chapter I: The Mountain Pass of Trishul
Raiders descend from the high snowy crags to seize the ancestral pass. Command Senapati, construct an Akhara (Barracks), survive 3 raiding assaults, and vanquish the Raider Chieftain in the northern heights.
Chapter II: Trial of the 8-Headed Naga
Rogue cultists have desecrated the sacred mountain terrace. Guide Kaula Acharya, train 4 Sadhikas at your Akhara, harness the celestial Vajra Storm, and cleanse the sacred Naga Shrine.
Chapter III: The Siege of Kailash Sanctum
The mountain citadel of the usurper sits heavily fortified behind stone walls and watchtowers. Assemble a siege train of Catapults and Rams to conquer the mountain palace.
Chapter IV: Night Ambush in the Pine Passes
Night falls across the snow ridges. Mountaineer raiders use the fog for cover. Mount archers upon stone battlements (+50% Range), take the Surya Tirtha to illuminate the ridge, and defeat the Night Warlord.
Chapter V: Defense of the Five River Bridges
The glacial river divides the realms. Hostile war chariots and battering rams attempt to force the river crossings. Construct fortified gatehouses (Dwara) to bar passage, deploy War Chariots (Ratha), and repel 4 massive crossing assaults.
Chapter VI: Grand Finale — Siege of the Asura Citadel
The ultimate showdown against the Asura tyrant nestled in the high caldera. Consecrate all 4 Sacred Himalayan Tirthas to shatter the tyrant's mystical wards, erect 3 Heavy Catapults, and raze the Mountain Palace to claim eternal Swarajya.
🏔️ 11. Sacred Himalayan Tirthas (Shrines) & Dynamic Objectives
Ancient Himalayan sanctums are positioned at critical mountain passes and ridge crossings across the battlefield. Troops stationing near neutral or enemy-held shrines will capture them, conferring powerful global faction blessings across your entire realm:
| Sacred Tirtha | Sanctum Title | Aura Light | Global Faction Blessing |
|---|---|---|---|
| ☀️ Surya Tirtha | Solar Sanctum of the High Peaks | Golden Amber | +15% Army Attack Damage & 1.25x Crop Harvest Yield across all farms. |
| 💨 Vayu Peeth | Shrine of the Mountain Gales | Cyan Blue | +18% Army Movement Speed & Rapid Cooldown Recovery on all units. |
| 🛡️ Vajra Kavacha | Sanctum of Indestructible Protection | Ruby Crimson | +25% Fortification Max HP & +1.5 HP/s Passive Health Regeneration for all troops. |
| 🔮 Soma Kund | Celestial Spring of Nectar | Mystic Violet | +25% Tantric Spell Damage & Double Shield Warding Capacity for Mystics. |