Territory War - Strategic Stick Figure Combat

Seele01-Flash
By
Territory War is a classic turn-based strategy game where you command stick figure armies to conquer enemy territory. Deploy units, upgrade weapons, and dominate the battlefield in this tactical combat experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Territory War: 3D Tactics**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A **2.5D aesthetic** (3D objects on a 2D gameplay plane). The art style should be "Clean Cartoon," mimicking the classic Flash stick figure style but with 3D depth. * **Characters (Stick Figures)**: Construct 3D stick figures using `THREE.SphereGeometry` for heads and joints, and `THREE.CylinderGeometry` for limbs. * **Team Colors**: Player team should be Black/Blue; Enemy team should be Red. * **Animations**: Simple procedural animations for "Walking" (limb rotation) and "Aiming" (arms pointing). * **Environment**: * **Platforms**: Grey, blocky rocky structures and brown wooden bridges (cylinders for logs) generated as the terrain. * **Background**: A bright gradient blue sky with low-poly white clouds. * **Water**: A blue plane at the bottom (`y < -10`) representing the "Kill Zone". * **Optimization**: Use `InstancedMesh` for repetitive environmental blocks to ensure 60FPS on mobile devices. Keep shadow map resolution moderate. ### 2. Audio Requirements * **BGM**: A loopable **"Light Military March"** track—snare drums and flutes, feeling tactical but playful (reminiscent of Worms). * **Sound Effects (SFX)**: * **UI**: Crisp "Click" and "Whoosh" for menu transitions. * **Combat**: distinct sounds for "Grenade Pin Pull", "Explosion" (retro bit-crushed style), "Rifle Shot", and a comical "Splash" sound when a unit falls into the water. * **Feedback**: A high-pitched "Whistle" sound for incoming projectiles. ### 3. Gameplay Loop * **Core Mechanism**: **Turn-Based Artillery Strategy** (similar to Worms). * **Turn Flow**: 1. **Move Phase**: The active player selects a unit and moves them left/right/jump (limited by a "Stamina" bar). 2. **Attack Phase**: Player selects a weapon (Grenade or Rifle), aims, and fires. 3. **Resolution**: Physics calculation (projectile arc, explosion force, damage application). 4. **Turn Switch**: Control passes to the AI/Enemy team. * **Win/Loss Conditions**: * **Win**: All enemy units are reduced to 0 HP or knocked into the water. * **Loss**: All player units are eliminated. * **Weapons**: * **Grenade**: High arc, area damage, knocks units back (physics impulse). * **Rifle**: Straight line raycast, single target high damage, low knockback. ### 4. Mobile Controls & Interaction * **Screen Orientation**: **Landscape Mode** mandatory. * **Movement Controls**: * **Left Bottom**: A semi-transparent **Virtual Joystick** (D-Pad) for moving Left/Right and aiming Up/Down. * **Right Bottom**: A large "Jump" button and a "Fire" button. * **Aiming Mechanics**: * Implement an "Angry Birds" style drag-aiming or use the D-pad to adjust the trajectory angle. * Show a **dotted trajectory line** (prediction path) when holding the fire button to help mobile users aim accurately on small screens. * **UI Layout**: * Top Left: Current Unit Name & HP. * Top Right: Pause & Weapon Switcher (large icons, min 44x44px). * Turn Indicator: A large text overlay "Your Turn" / "Enemy Turn" appearing center screen. * **Haptic Feedback**: Trigger `navigator.vibrate(50)` when a unit takes damage or an explosion occurs near the camera. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Territory War is a compelling turn-based strategy game that puts you in command of stick figure armies fighting for territorial dominance. With an impressive 4.66/5 rating, this classic war game combines strategic planning with tactical combat across multiple battlefield scenarios.

The game revolves around the timeless concept of territorial conquest - you must strategically deploy your forces, upgrade your arsenal, and systematically capture enemy territory until victory is achieved. Each battle requires careful planning and resource management to outmaneuver your opponents.

Core Features

Strategic Turn-Based Combat

  • Tactical Planning : Every move counts in this turn-based warfare system
  • Multiple Unit Types : Deploy various stick figure soldiers with unique abilities
  • Weapon Variety : Equip your troops with different weapons and shields
  • Progressive Difficulty : Face increasingly challenging opponents as you advance

Army Management System

  • Unit Upgrades : Enhance your soldiers' combat effectiveness
  • Equipment Customization : Choose optimal weapons for different battle scenarios
  • Resource Management : Balance offensive and defensive capabilities
  • Strategic Positioning : Master terrain advantages and tactical formations

Classic Gameplay Experience

  • Timeless Appeal : Simple yet engaging stick figure graphics
  • Intuitive Controls : Easy-to-learn mouse-based interface
  • Replay Value : Multiple strategies and approaches to victory
  • Free to Play : Complete game experience at no cost

Game Mechanics

Territory War operates on a turn-based system where players alternate moves to gain territorial advantage. You'll select units, purchase upgrades, and deploy forces across the battlefield using mouse controls. The objective is straightforward: eliminate enemy forces and capture their territory until they have nowhere left to retreat.

The game features a comprehensive upgrade system allowing you to enhance your units' combat capabilities. Different weapon types offer varying advantages - from long-range firearms to close-combat weapons, each serving specific tactical purposes.

Operation Guide

Basic Controls

  • Mouse Selection : Click to select units and targets
  • Deployment : Choose unit placement strategically
  • Purchasing : Buy upgrades and new units between battles
  • Menu Navigation : Access game rules and options in-game

Strategic Tips

  1. Terrain Advantage : Position units on elevated ground when possible
  2. Unit Diversity : Maintain a balanced army composition
  3. Resource Conservation : Don't overspend on upgrades early
  4. Tactical Retreat : Sometimes withdrawal preserves valuable units
  5. Enemy Analysis : Study opponent patterns and adapt accordingly

Why Play Territory War

This game appeals to strategy enthusiasts who enjoy methodical, turn-based combat without time pressure. The stick figure art style creates an accessible, non-violent atmosphere while maintaining engaging warfare mechanics. Perfect for players seeking strategic depth in bite-sized gaming sessions.

The game's enduring popularity stems from its perfect balance of simplicity and strategic complexity. Whether you're a casual gamer or strategy veteran, Territory War offers satisfying tactical challenges that reward careful planning and smart resource management.

Platform Compatibility

Territory War runs smoothly in web browsers on desktop and laptop computers. The game's optimized design ensures consistent performance across different systems, making it accessible to players regardless of their hardware specifications.

Frequently Asked Questions (FAQ)