Hexanaut.io - Multiplayer Territory Conquest Game

Seele01-Flash
By
Hexanaut.io is an addictive multiplayer territory conquest game where you expand your hexagonal domain while avoiding deadly collisions. Capture totems, outsmart opponents, and prove your strategic skills in this fast-paced .io game.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Hexanaut.io - Territory Conquest**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Clean, minimalist Low-Poly 3D aesthetic with high-contrast colors. The world is built entirely on a Hexagonal Grid. * **The Grid (Map):** Use `THREE.InstancedMesh` to render a massive floor of hexagonal tiles to ensure 60FPS on mobile devices. The background/neutral tiles should be dark gray (#222222) to make player colors pop. * **Player Character:** A simple, smooth-shaded sphere or capsule with a "visor" element (resembling a simplified astronaut or "Among Us" character). It must have a trail/tail that extrudes dynamically behind it. * **Territory Visuals:** * **Owned Territory:** Hexagons turn into the player's specific color (e.g., Bright Red, Cyan, Lime Green). * **The Trail:** A `TubeGeometry` or custom dynamic mesh that connects the player to their territory. It must appear vulnerable and distinct from the safe territory. * **Totems:** Floating 3D icons (spinning animation) placed on random hexes representing power-ups (Speed, Slow, Invincibility). * **Camera:** Isometric or high-angle top-down perspective that follows the player smoothly. ### 2. Audio Requirements * **BGM:** Upbeat, fast-paced electronic/synth-pop loop. It should feel competitive and energetic but not abrasive. * **Sound Effects (SFX):** * **Movement:** A subtle, low-volume hum or "whoosh" while boosting. * **Territory Capture:** A satisfying, crunchy "pop" or rising chord sound when the player closes a loop and captures area. * **Death:** A digital "shatter" or glass-breaking sound when a player hits a tail or wall. * **Totem Pickup:** A high-pitched "chime" or arcade power-up sound. ### 3. Gameplay Loop * **Core Mechanic (Paper.io style):** 1. **Safe State:** The player moves safely within their own colored hexes. 2. **Vulnerable State:** Leaving territory creates a "tail." If an enemy (or the player themselves) hits this tail, the player dies (Game Over). 3. **Capture State:** Returning to "Safe State" connects the tail to the territory, filling all enclosed hexes with the player's color. * **Win/Loss:** * **Objective:** Capture the highest percentage of the map. Capture the "Crown" item to become the King (giving a score multiplier). * **Fail:** Hitting the map edge, hitting your own tail, or getting your tail hit by an enemy. * **Totem Mechanics:** Capturing a hex containing a totem activates it immediately (e.g., +20% speed for 5 seconds). ### 4. Mobile Controls & Interaction * **Control Scheme:** "Floating Joystick" (Relative Touch). The player can touch and drag *anywhere* on the screen to steer the character. The character moves constantly; the finger only dictates direction. * **Orientation:** Force **Landscape Mode** to allow for wider peripheral vision of incoming enemies. * **UI Layout:** * **Top Right:** Leaderboard (Top 3 names & colors). * **Top Left:** Current % of map conquered. * **Center Overlay:** "Tap to Start" and "Game Over / Retry" buttons. Ensure buttons are at least 44x44px with a large hit area. * **Feedback:** Implement `window.navigator.vibrate(200)` (Haptic Feedback) specifically when the player is eliminated or when they successfully capture a large chunk of territory. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Hexanaut.io is an exciting multiplayer territory conquest game that combines strategic thinking with quick reflexes. In this colorful hexagon-based world, you control a character that moves around capturing territory by drawing lines and closing loops. The goal is simple: conquer the largest area possible while avoiding getting cut by other players or cutting your own line.

The game features vibrant graphics with a distinctive hexagonal grid system that creates a unique visual experience. Each player is represented by a colored character that leaves a trail as they move, and successful territory capture fills the enclosed area with your color.

Core Features

Strategic Territory Expansion

The core gameplay revolves around expanding your territory by creating closed shapes. Every move requires careful planning as you must return to your existing territory to claim new areas. The hexagonal grid system adds a unique twist to traditional territory games.

Competitive Multiplayer Action

Compete against players from around the world in real-time multiplayer battles. Each match is dynamic and unpredictable, as opponents can cut your line and eliminate you from the game, making every move crucial for survival.

Totem Capture System

Special totems scattered across the map provide additional bonuses when captured. These strategic points add depth to the gameplay, as controlling totems can give you significant advantages over other players.

Cross-Platform Compatibility

Play seamlessly on both desktop and mobile devices through your web browser. No downloads required - jump into the action instantly from any device with an internet connection.

Free-to-Play Experience

Enjoy the complete game experience without any cost. All features and gameplay modes are available for free, making it accessible to everyone.

Gameplay Mechanics

The game follows the classic .io game formula with unique territory-based mechanics. You start with a small area and must expand by venturing out and creating enclosed shapes. However, while you're outside your territory, you're vulnerable - if another player crosses your line, you're eliminated.

Success requires balancing aggression with caution. Larger territories provide more points but take longer to secure, leaving you exposed to enemy attacks. The presence of totems adds strategic decision-making, as capturing these valuable points can turn the tide of battle.

Operation Guide

The controls are incredibly simple and intuitive:

  • Mouse Movement : Navigate your character by moving your mouse cursor
  • Territory Expansion : Move outside your colored area to start claiming new territory
  • Area Claiming : Return to your existing territory to close the loop and claim the enclosed area
  • Totem Capture : Move over totems to capture them and gain bonuses

The key to success is smooth, confident movements. Avoid sharp turns that might lead you into your own trail, and always be aware of other players' positions and movements.

Why Play This Game

Hexanaut.io offers the perfect blend of strategy and action that makes .io games so addictive. The territory conquest mechanics provide deep strategic gameplay while maintaining the fast-paced excitement that keeps you coming back for more.

The game's accessibility is unmatched - no registration required, no downloads needed, and instant multiplayer action. Whether you have 5 minutes or an hour to spare, you can jump in and start conquering territories immediately.

The competitive nature creates natural replay value as you strive to achieve larger territories and higher scores. Each match presents new challenges and opportunities, ensuring that no two games feel exactly the same.

Frequently Asked Questions (FAQ)