Paper.io 2 - Territory Conquest Game

Seele01-Flash
By
Paper.io 2 is an addictive multiplayer .io game where you compete to capture the largest territory possible. Paint the map with your color, defend your space, and outsmart opponents in this strategic conquest battle.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Paper Territory Conquest**" (inspired by Paper.io 2). Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Clean, vibrant, abstract 3D aesthetic. The game world is a large, flat white canvas (representing neutral territory). * **Player Character (Cube):** A simple 3D cube representing the player's brush. It must move smoothly across the surface. * **Territory & Trails:** * **Territory:** Solid, bright colors (e.g., Neon Blue, Hot Pink, Lime Green) representing captured areas. The geometry must dynamically update to fill shapes drawn by the player. * **Trails:** A semi-transparent "tail" that follows the player when they leave their territory. This trail needs to look like a ribbon or paper strip standing slightly vertical to the ground plane. * **Camera:** A Top-Down Orthographic camera (or slight perspective) that smoothly follows the player character, keeping them centered but allowing a view of approaching threats. * **Performance:** Use simple geometry (low-poly) for the trails and territories to ensure 60 FPS on mobile browsers. Avoid complex dynamic lights; use baked ambient lighting or a simple directional light with soft shadows. ### 2. Audio Requirements * **BGM:** Upbeat, energetic, looping electronic/synth-pop track. It should feel casual and arcade-like (think "hyper-casual" mobile game music). * **Sound Effects (SFX):** * **Moving:** A subtle, continuous "whoosh" or sliding sound when moving outside territory. * **Capturing Territory:** A satisfying "pop" or "splash" sound when the player closes a loop and fills an area. * **Elimination:** A crash or glass-breaking sound when a player hits an enemy's trail. * **Death:** A descending "womp-womp" or glitch sound when the player is destroyed. ### 3. Gameplay Loop * **Core Mechanic:** The player moves constantly. When inside their own color, they are safe. When they move out, they draw a trail. Connecting the trail back to their own territory fills the enclosed area with their color. * **Vulnerability:** * If an enemy hits the player's *trail* while the player is outside their territory, the player dies (Game Over). * If the player hits *their own* trail, they die. * Head-on collisions usually result in both dying or the smaller player dying (simplify to mutual destruction for this MVP). * **Goal:** Capture 100% of the map. High score is based on the percentage of the map covered. * **AI Bots:** Implement simple AI bots that wander, attempt to capture small areas, and retreat if threatened. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Relative Touch Joystick / Swipe-to-Turn**. * The character moves forward automatically and constantly. * The user touches anywhere on the screen and drags to steer. The character follows the angle of the drag relative to the touch start point. * This allows for one-handed play in portrait mode. * **Screen Orientation:** **Portrait Mode** optimized. The camera fov should cover enough width to see enemies coming from the sides. * **UI Layout:** * **Top Center:** Score/Percent counter (large, readable font). * **Top Right:** Leaderboard (miniature list of top 3 colors). * **Game Over Screen:** A modal overlay with a "Restart" button (min size 60x60px) and final score. * **Feedback:** * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) when the player kills an enemy or captures territory. * **Visual Feedback:** A screen shake effect when an elimination occurs. ### 5. Code Structure * Use `three.js` for rendering. * Use a simplified algorithm for polygon filling (e.g., raycasting or a grid-based fill approach) to handle the territory capture logic efficiently in JavaScript. * Ensure the code is modular, separating the Game Loop, Input Handling, and Rendering logic. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Paper.io 2

Paper.io 2 is one of the most popular territory conquest games in the .io genre, where strategy meets fast-paced action. Your mission is simple yet challenging: capture as much territory as possible by painting the map with your unique color while defending against other players who want to claim your space.

This free-to-play multiplayer game combines elements of strategy, timing, and risk management. Every move counts as you expand your territory, and one wrong decision could cost you everything you've built.

Core Features

Real-Time Multiplayer Competition

Battle against players from around the world in intense territory conquest matches. Each game features multiple opponents, all fighting to dominate the map and become the ultimate territory king.

Strategic Territory Expansion

The game rewards smart planning over reckless expansion. You must carefully balance aggressive territory grabs with defensive positioning to protect your existing space.

Customizable Skins and Designs

Unlock new character designs and skins by completing objectives and eliminating opponents. Personalize your playing experience and stand out on the battlefield with unique visual styles.

Cross-Platform Accessibility

  • Completely Free : No downloads required, play instantly in your browser
  • Multi-Device Support : Perfect compatibility with desktop computers and mobile devices
  • No Registration Needed : Jump straight into the action without creating accounts

Game Mechanics

Territory Capture System

Move your character to create colored trails, then return to your base territory to claim enclosed areas. The larger the space you enclose, the more territory you gain, but also the greater the risk of being eliminated.

Combat and Elimination

Eliminate opponents by crossing their trails before they can return to safety. This destroys their exposed territory and adds it to the neutral space, ready for conquest.

Risk vs Reward Gameplay

Every expansion outside your safe zone creates vulnerability. The further you venture, the longer your exposed trail becomes, making you an easier target for enemy attacks.

How to Play

Basic Controls

  • Mouse Movement : Control your character's direction by moving the mouse
  • WASD Keys : Alternative movement controls using keyboard
  • Arrow Keys : Additional keyboard control option

Winning Strategies

  1. Start Small : Begin with modest territory expansions to build a solid foundation
  2. Stay Alert : Constantly monitor other players' movements and exposed trails
  3. Time Your Attacks : Strike when opponents have long, vulnerable trails
  4. Protect Your Base : Always maintain a safe retreat path to your territory
  5. Edge Strategy : Use map boundaries to reduce exposure angles

Advanced Tactics

  • Bait and Switch : Create tempting targets to lure opponents into traps
  • Defensive Expansion : Grow territory in layers, always maintaining escape routes
  • Opportunistic Strikes : Target distracted players engaged with other opponents

Why Play Paper.io 2

This game offers the perfect blend of accessibility and depth. New players can learn the basics in minutes, while experienced players can spend hours mastering advanced strategies. The multiplayer environment ensures every match is unique, with different opponents bringing varied playing styles and challenges.

The satisfaction of successfully expanding your territory while eliminating competitors creates an addictive gameplay loop that keeps players returning for "just one more game."

Frequently Asked Questions (FAQ)