All notes

NEON TERRITORY WARS

note

1. Overview

Neon Territory Wars // Zero Protocol is a zero-player, high-octane cyberpunk spectator game designed for a $16:9$ widescreen esports broadcast layout. Four autonomous AI factions—anchored at the four corners of a strictly square neon grid—compete in a relentless 10-minute battle of territory painting, exponential number inflation, and physics-driven weapon drops until a single faction achieves total dominance.


2. Visual Style & Arena Architecture

  • $16:9$ Esports Broadcast Stage: Framed with a subtle CRT scanline overlay, a live 4-way territory dominance bar, real-time combat ticker, and dual-side weapon chambers.
  • Symmetric Square Battle Grid ($200 \times 200$): The central arena is divided into $40,000$ fine-grained pixel tiles, ensuring equal travel distance between all four corner bases.
  • $0.2\text{s}$ High-Luminance Territory Flash: Every newly captured floor pixel ignites with an ultra-bright neon white-core flash for the first $0.2\text{ seconds}$, then smoothly decays over $1.6\text{ seconds}$ into the faction's deep cyberpunk territory hue, creating dynamic waves of light across active frontlines.

The Four Corner Factions

Faction NameQuadrantNeon ColorSweep Sector
CYAN ARCNorth-West (NW)Cyan (#00f3ff)$[-10^\circ, 100^\circ]$
CRIMSON PULSENorth-East (NE)Magenta (#ff007f)$[80^\circ, 190^\circ]$
VENOM MATRIXSouth-West (SW)Neon Green (#39ff14)$[260^\circ, 370^\circ]$
SOLAR FORGESouth-East (SE)Solar Gold (#ffb700)$[170^\circ, 280^\circ]$

3. Core Combat & Territory Mechanics

$110^\circ$ Sweeping Corner Turrets

  • Each corner turret rotates at a constant angular velocity across a $110^\circ$ arc—covering the $90^\circ$ quadrant facing the other three turrets plus an extra $10^\circ$ on both ends.
  • Shots fired into the outer $10^\circ$ angles ricochet off the arena walls to flank enemy backlines.
  • Turrets automatically fire energy projectiles every $0.5\text{ seconds}$.

Pixel Painting & Mid-Air Projectile Clashes

  • Every projectile carries a numerical HP (Power) value.
  • When crossing non-friendly floor pixels, the projectile deducts the tile's capture cost (plus any fortification armor) from its HP and paints the pixel in its faction's color.
  • Enemy standard projectiles colliding in mid-air cancel each other out at a $1:1$ HP ratio with neon spark bursts.

10-Minute Number Inflation & Match Phases

  • Both orb values and floor pixel resistance scale continuously along a 10-minute ($600\text{s}$) exponential inflation curve:
    • Phase 1 ($00:00 - 01:59$): Initial Clash ($1$ Auto Orb per faction)
    • Phase 2 ($02:00 - 03:59$): Dual Orbs ($2$ Auto Orbs per faction)
    • Phase 3 ($04:00 - 05:59$): Escalation ($3$ Auto Orbs per faction)
    • Phase 4 ($06:00 - 09:59$): Full Swarm ($4$ Auto Orbs per faction — Auto Cap Reached)
    • Phase 5 ($10:00+$): Sudden Death (Tile capture costs decrease to force a decisive conclusion)

Emergency Reboot (RBT) & Underdog Overdrive

  • Emergency Reboot ($\circlearrowright 2$): Each turret starts with $2$ Emergency Reboot charges. When a turret's Core HP drops to $0$, it consumes $1$ charge to restore $45\%$ HP, deploy an emergency shield, boost its firing multiplier, and unleash a counter-barrage.
  • Underdog Overdrive: Any faction whose territory share falls below $15\%$ enters OVERDRIVE, gaining faster firing rates, boosted shot power, and accelerated weapon orb spawns.

4. Cyber Pachinko Weapon Chambers (Left & Right Panels)

Flanking the central arena are four independent Pachinko / Plinko Weapon Systems that determine which special weapons each turret unleashes:

  • Inflating Energy Orbs: Orbs drop from the top chute starting at a value of $1$ and steadily inflate as the match progresses. Multiple orbs in the same chamber collide elastically with one another.
  • Pegs & Moving Deflector Rails:
    • Neon Obstacle Pegs: Randomize the orb's trajectory.
    • Golden Amplifier Pegs: Permanently boost the colliding orb's value by $+15\%$.
    • Moving Horizontal Rails (>>> / <<<): Two motorized rails slide back and forth, imparting horizontal momentum and redirecting falling orbs.

Bottom Weapon Slots

SlotWidth ShareEffect When Triggered
X2$23\%$Doubles the turret's active firing multiplier and doubles the orb's value, teleporting the orb back to the top chute to drop again (chains up to $3$ times).
SHIELD$23\%$Grants the turret a protective energy barrier (capped at $60\%$ of Max Core HP) and unleashes a fortification pulse that captures and armors a $20$-pixel radius around the base.
X4$8\%$ (Jackpot)Narrow center jackpot slot! Quadruples ($\times 4$) both the turret's firing multiplier and the orb's value, re-dropping the orb from the top.
MEGA$23\%$Converts the orb's accumulated value into a massive Mega Juggernaut Orb fired onto the battlefield.
OMNI$23\%$Unleashes $2$ consecutive waves of $9$-projectile fan barrages across the turret's entire $110^\circ$ firing arc.

5. Mega Orb (MEGA) Physics & Clash Rules

The Mega Orb is a centerpiece spectacle unit governed by specialized physics and combat rules:

  1. Dynamic Area Scaling & Infinite Lifetime:
    • A Mega Orb's visual radius dynamically scales in proportion to the square root of its remaining HP.
    • It has no expiration timer and no wall-bounce limit—it ricochets endlessly around the arena until its HP is completely depleted to $0$.
  2. Full Covered-Area Cost Deduction:
    • Rather than paying a single-pixel cost, the Mega Orb calculates the exact sum of all enemy pixels covered within its circular footprint each frame and deducts that total cost from its HP, visibly shrinking as it crushes enemy territory.
  3. Exclusive Collision Filtering:
    • Mega Orbs completely ignore small standard and Omni projectiles, colliding only with enemy Mega Orbs and enemy Core Bases.
  4. Mega Orb vs. Mega Orb ($50\%$ HP Judgment):
    • When two enemy Mega Orbs collide, each uses $50\%$ of its current HP to judge whether it can annihilate the opponent:
      • If $\text{Orb A's } 50\% \text{ HP} \ge \text{Orb B's Total HP}$: Orb B is instantly crushed! Orb A bounces off and loses HP equal to Orb B's total HP.
      • If neither orb's $50\%$ HP is sufficient to one-shot the other: Both orbs undergo a 2D elastic physics bounce and suffer $25\%$ clash wear.
  5. Mega Orb vs. Enemy Base (Shield Deflection Protocol):
    • When Base Has an Active Shield ($\text{Shield} > 0$):
      • If $\text{Mega Orb HP} > \text{Base Shield}$: The base's shield is shattered to $0$, the Mega Orb deducts the shield value from its HP and bounces away, and the Base Core HP takes $0$ damage (CORE SAFE).
      • If $\text{Mega Orb HP} \le \text{Base Shield}$: Both the shield and the Mega Orb lose $50\%$ of the Mega Orb's HP upon ricochet.
    • When Base Has No Shield ($\text{Shield} = 0$):
      • Applies the $50\%$ HP judgment directly against the Base Core HP: if $\text{Mega Orb's } 50\% \text{ HP} \ge \text{Core HP}$, the base is breached and the orb loses only the base's remaining HP; otherwise, both lose $50\%$ of the Mega Orb's HP and the orb bounces away.

6. Spectator Controls & Shortcuts

  • Simulation Speed (1x / 2x / 5x / 10x): Fast-forward or slow down the simulation at any time without breaking physics accuracy.
  • Bonus Orb Drop (⚡ +1 ORB): Permanently injects $+1$ extra energy orb into all living factions' Pachinko chambers, bypassing the $4$-orb automatic limit.
  • Web Audio Synthesizer (🔇/🔊 AUDIO): Toggles real-time procedural cyberpunk sound effects generated purely via the Web Audio API.
  • Clean Broadcast Mode (👁️ HIDE UI or [H] Key): Hides the top and bottom HUD bars while keeping both side Pachinko weapon panels and the central battle arena expanded at full height.