Hexanaut.io - Multiplayer Arena Territory Game

Seele01-Flash
By
Hexanaut.io is a fast-paced multiplayer io game where players compete to claim hexagonal territory while avoiding obstacles and other players. With simple mouse controls and intense arena gameplay, it's perfect for quick gaming sessions.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Hexanaut.io". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A clean, minimal 3D aesthetic using a high-contrast color palette. The world is a flat plane composed entirely of a **hexagonal grid** (honeycomb pattern). * **Key Assets:** * **Player:** A sleek, snake-like entity consisting of a spherical "Head" (e.g., bright green) and a trailing tail that emits particles. * **Territory:** Hexagons should change color based on ownership. Use slightly raised geometry or an emission shader to distinguish "captured" tiles from "neutral" (dark grey) tiles. * **Totems/Towers (Optional):** Simple geometric structures (cones/cylinders) scattered on the map acting as capturable relay points, adding verticality. * **Mobile Optimization:** * **InstancedMesh:** **Crucial.** Use `THREE.InstancedMesh` for the hexagonal grid to render thousands of tiles with a single draw call. Do not create individual Mesh objects for each tile. * **Lighting:** Use baked lighting or a single DirectionalLight with soft shadows to save battery. Avoid complex real-time shadow maps if possible. * **Camera:** A top-down Orthographic camera (or high FOV Perspective) that smoothly follows the player, keeping the player centered but allowing a view of the immediate surroundings. ### 2. Audio Requirements * **BGM:** A fast-paced, looping **Synth-Pop / Electro-Arcade** track. It should be energetic but not distracting, encouraging flow-state gameplay. * **Sound Effects (SFX):** * **Movement:** A subtle, rhythmic low-frequency hum that changes pitch based on speed. * **Capture:** A satisfying "pop" or "chord" sound when a player completes a loop and captures territory. * **Kill/Death:** A digital "crunch" or "glitch" noise when a player hits a trail or is eliminated. * **UI:** Soft clicks for menu interactions. ### 3. Gameplay Loop * **Core Mechanic (Territory Conquest):** * **Safe Zone:** Moving inside your own colored territory is safe. * **Vulnerable Zone:** When moving outside, the player leaves a "Trail Line". * **Capturing:** If the player loops their trail back into their own territory, all hexagons enclosed by the trail and the territory border become theirs. * **Combat & Death:** * If an enemy touches your **Trail Line** while you are outside your territory, you die (Game Over). * If you touch your **own** Trail Line, you die. * Head-on-head collisions eliminate the player with the smaller territory (or both). * **Goal:** Capture 100% of the map or achieve the highest score (percentage owned) on the leaderboard. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Virtual Joystick**. * Place a floating virtual joystick on the bottom-center (or adaptable left/right) of the screen. * The player moves constantly; the joystick controls **direction only**. * Movement should be smooth but snappy (high turning speed) to allow for precise hexagon navigation. * **Screen Orientation:** **Landscape Mode** is preferred for a wider field of view, but the UI should be responsive to prevent overlap on notch devices. * **Haptic Feedback:** Trigger a short vibration (using `navigator.vibrate`) when: * The player successfully captures a chunk of territory. * The player kills an enemy. * The player dies. * **UI Layout:** * **Mini-map:** Top-right corner (simplified dots). * **Leaderboard:** Semi-transparent overlay on the top-right (below map). * **Kill Feed:** Text overlay fading in/out on the left. * All buttons (Restart, Settings) must have a hit area of at least **44x44 pixels**. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Hexanaut.io

Hexanaut.io is an exciting multiplayer arena game that combines territory conquest with obstacle avoidance gameplay. With an impressive 4.5/5 rating, this free-to-play io game challenges players to claim as much hexagonal territory as possible while navigating through a dynamic arena filled with obstacles and competing players.

The game features a unique hexagonal grid system where strategy meets quick reflexes. Players must carefully plan their moves to expand their territory while staying alert to avoid collisions that could end their game instantly.

Core Features

Multiplayer Arena Competition

Join real-time battles with players from around the world. The arena is constantly active with multiple players competing simultaneously, creating an unpredictable and thrilling gaming environment where every move counts.

Hexagonal Territory System

Unlike traditional io games, Hexanaut.io uses a distinctive hexagonal grid system for territory claiming. This creates more strategic depth as players must think carefully about their expansion patterns and defensive positions.

Obstacle Avoidance Mechanics

Navigate through various obstacles scattered throughout the arena. These barriers add an extra layer of challenge, requiring players to balance territory expansion with survival tactics.

Instant Browser Gameplay

No downloads or installations required. Simply open your browser and start playing immediately. The game runs smoothly on all modern browsers and devices, making it accessible anywhere.

Progressive Difficulty

As you claim more territory, the challenge increases. Other players will target larger territories, and navigating becomes more complex, keeping the gameplay engaging throughout each session.

Game Mechanics

Territory Claiming

Move through the hexagonal grid to claim new territory. Each hex you pass through becomes part of your domain, but be careful - other players can cut through your trail before you complete a loop, ending your expansion attempt.

Collision System

Contact with obstacles, arena boundaries, or other players results in immediate elimination. This creates intense moments where split-second decisions determine success or failure.

Strategic Movement

While the controls are simple, mastering efficient movement patterns is crucial. Learn to create defensive territories while planning aggressive expansions to outmaneuver opponents.

Operation Guide

Basic Controls

  • Mouse Movement : Control your character's destination by moving your mouse cursor
  • Navigation : Your character automatically follows your mouse pointer
  • Territory Claiming : Move through unclaimed hexagons to add them to your territory
  • Strategic Positioning : Use mouse precision to navigate tight spaces and avoid obstacles

Winning Strategies

  • Start with small, secure territories before attempting larger expansions
  • Watch other players' movement patterns to predict their next moves
  • Use obstacles as natural barriers to protect your territory
  • Time your expansions when other players are distracted or far away
  • Balance aggressive growth with defensive positioning

Why Play Hexanaut.io

Perfect for Quick Sessions

Each game session is fast-paced and exciting, making it ideal for short breaks or extended gaming sessions. The instant-action gameplay means you can jump in and start competing immediately.

Develops Strategic Thinking

The combination of territory management, obstacle avoidance, and real-time competition helps develop quick decision-making and strategic planning skills.

Highly Accessible

With simple mouse controls and browser-based gameplay, Hexanaut.io is accessible to players of all skill levels. No complex tutorials or steep learning curves - just pure, engaging gameplay.

Competitive Community

Join a thriving community of players who enjoy competitive arena games. The multiplayer nature ensures every game is different, with new challenges and opponents.

Completely Free

Enjoy all game features without any cost. No premium accounts, paid upgrades, or microtransactions - just pure gaming fun accessible to everyone.

Frequently Asked Questions (FAQ)