War of Sticks - Strategic Stickman Battle Game

Seele01-Flash
By
War of Sticks is an engaging strategy war game where you lead a stick kingdom to freedom from the oppressing Red Empire. Build your army, manage resources, and strategically defeat enemy forces in this epic stickman battle.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**War of Sticks: Strategy Battle**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Implement a **Cel-Shaded / Low-Poly aesthetic** using `MeshToonMaterial` to mimic the clean vector 2D art style of the reference image. The world should be bright and high-contrast. * **Character Models:** * **Base Skeleton:** Create a modular 3D stickman rig (using cylinders/capsules) with black skin color. * **Player Army (Blue):** Accessorize with blue capes, silver spartan-style helmets, and gold accents. * **Enemy Army (Red Empire):** Accessorize with red capes and spiked dark armor to distinguish them clearly. * **Unit Types:** Create distinct visual cues for Miners (pickaxes, worker hats), Archers (bows, light armor), Shielders (large round shields, swords), and Wizards (robes, staffs). * **Environment:** * A horizontal "tug-of-war" battlefield. * **Ground:** A textured path (dirt/grass) running left to right. * **Background:** 2D parallax scrolling background (mountains/sky) to add depth without high polygon cost. * **Bases:** A Player Castle (Left) and an Enemy Fortress (Right) acting as the spawn points and main objectives. * **Performance:** Use `InstancedMesh` for rendering unit swarms (armies) to ensure 60fps on mobile devices. Limit bone count per character. ### 2. Audio Requirements * **BGM:** An orchestral, marching-style track with heavy percussion (snare drums, timpani) to evoke a sense of war and urgency. It should loop seamlessly. * **Sound Effects (SFX):** * **Mining:** Metallic "clink" sound for gold collection. * **Combat:** "Thwip" for arrows, metal clashing for sword fights, and "fireball/zap" sounds for wizard magic. * **UI:** Snappy, high-pitched "pop" or "click" sounds for button presses. A "ka-ching" sound when purchasing units. * **Feedback:** A low-frequency "thud" or vibration sound when a base takes damage. ### 3. Gameplay Loop * **Core Mechanic:** Side-scrolling Real-Time Strategy (RTS). The player must destroy the enemy statue/base on the far right to win. * **Economy Cycle:** 1. **Spawn Miners:** Miners automatically move to gold/stone nodes near the base, harvest, and return resources. 2. **Resource Management:** Collect **Gold** (to buy units) and **Stone** (to build defense towers). * **Combat Logic:** * Units automatically march to the right (Player) or left (Enemy) upon spawning. * When units meet, they engage in auto-combat based on range (Melee vs. Ranged). * Rock-Paper-Scissors balance: Shielders block Archers, Barbarians break Shielders, Wizards deal AoE damage. * **Win/Loss:** Destroying the enemy base triggers a "Victory" particle explosion. Losing the player base triggers a "Defeat" screen with a retry button. ### 4. Mobile Controls & Interaction * **Camera:** Fixed side-view camera (Orthographic preferred for clarity). * **Touch Input - Camera Pan:** Allow the player to swipe horizontally on the non-UI area of the screen to pan the camera across the battlefield. * **UI Layout (HUD):** * **Placement:** Place the unit production menu at the **bottom of the screen** (not top-left) for better thumb accessibility on mobile devices. * **Resource Bar:** Display Gold and Stone counts clearly at the top center. * **Buttons:** Large, square buttons (min 48x48px) for each unit type (Miner, Sword, Bow, Mage). Icons should be clear silhouettes. * **Feedback:** * **Visual:** When a button is tapped, it should scale down slightly (tweening). If resources are insufficient, the button should flash red or shake. * **Haptic:** Trigger `navigator.vibrate(10)` on button taps and `navigator.vibrate(50)` when the player's base takes damage. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About War of Sticks

War of Sticks is a captivating strategy war game that combines resource management, army building, and tactical combat in a charming stickman universe. Your mission is to liberate your stick people from the tyrannical Red Empire through strategic planning, efficient resource allocation, and skillful battle tactics.

This browser-based strategy game offers an immersive experience where every decision matters. From training your first miners to commanding powerful wizards in battle, you'll need to balance economic growth with military expansion to achieve victory.

Core Features

Strategic Resource Management

Success in War of Sticks begins with smart resource management. Train miners to collect precious gold, which serves as the foundation of your kingdom's economy. Use your earnings wisely to expand your military forces and strengthen your defenses.

Diverse Military Units

Build a formidable army with various specialized units: - Miners : Essential workers who gather gold for your kingdom - Shielders : Defensive warriors who protect your forces - Archers : Ranged attackers perfect for eliminating distant enemies - Barbarians : Fierce melee fighters with devastating close-combat abilities - Wizards : Magical units with powerful spells and abilities

Tower Defense Elements

Combine offensive strategies with defensive tactics by constructing defense towers using stones collected by your miners. These fortifications provide crucial protection for your kingdom while you build your attacking forces.

Upgrade System

Maximize your kingdom's potential through comprehensive upgrade systems. Enhance each unit type and building to unlock their full power, creating an unstoppable force capable of defeating the Red Empire.

Gameplay Strategy

Economic Foundation

Start every battle by establishing a strong economic base. Train multiple miners to ensure steady gold income, as this resource fuels all your military and defensive operations.

Balanced Army Composition

Create a well-rounded army that can handle various combat situations. Combine tanky shielders with long-range archers, supported by powerful barbarians and magical wizards for maximum effectiveness.

Defensive Planning

Don't neglect your defenses while building your attack force. Strategically place defense towers to protect key areas and buy time for your army to mobilize.

Operation Guide

War of Sticks features intuitive mouse-based controls designed for both desktop and mobile play:

  • Mouse Click/Tap : Activate purchase buttons located in the upper-left corner
  • Resource Management : Monitor your gold and stone reserves constantly
  • Unit Training : Click on unit buttons to recruit new soldiers
  • Building Construction : Use collected stones to build defensive structures
  • Upgrades : Access upgrade options for enhanced unit and building performance

The game's interface is user-friendly, making it easy to manage multiple aspects of your kingdom simultaneously. All essential controls are clearly visible and accessible during intense battle sequences.

Why Play War of Sticks

This strategy game offers the perfect blend of tactical depth and accessible gameplay. Whether you're a strategy game veteran or new to the genre, War of Sticks provides:

  • Free-to-Play : Complete game experience without any cost
  • Cross-Platform : Seamless play on computers, phones, and tablets
  • No Download Required : Instant play through your web browser
  • Strategic Depth : Multiple layers of tactical decision-making
  • Engaging Storyline : Fight for freedom against an oppressive empire
  • Charming Graphics : Appealing stickman art style with smooth animations

Perfect for strategy enthusiasts who enjoy resource management, tactical combat, and progressive army building in bite-sized gaming sessions.

Frequently Asked Questions (FAQ)