Gons.io - Multiplayer Polygon Expansion Game

Seele01-Flash
By
Gons.io is an innovative multiplayer IO game where players control polygons to expand their territory and compete for dominance. Experience unique geometric gameplay with smooth controls and real-time competition.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Gons.io (Geometric Shooter)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Top-Down Arcade. Use an **Orthographic Camera** to simulate a flat 2D look while using 3D geometry. The aesthetic should be clean, bright, and mathematical. * **Player/Enemy Models:** Extruded regular polygons (Cylinders with varying radial segments). Start as a Triangle (3 segments), upgrading to Square (4), Pentagon (5), etc., approaching a Circle. * **Shader/Material:** Use `MeshBasicMaterial` with bright, distinct colors for bodies (Green, Red, Purple). * **Outlines:** Crucial visual detail. Add `LineSegments` with `EdgesGeometry` to every shape to create a thick black outline, mimicking the vector art style of the screenshot. * **Background:** An infinite white or light gray grid (using `GridHelper` or a shader) that spans the entire play area. * **Projectiles:** Black stick-like lines or small geometric shapes that match the shooter's current polygon type. * **Performance:** Use **InstancedMesh** for background food/dots and projectiles to ensure 60FPS on mobile browsers. ### 2. Audio Requirements * **BGM:** Minimalist, rhythmic electronic/chiptune track. Fast-paced but not distracting, similar to classic .io games. * **Sound Effects (SFX):** * **Shoot:** A sharp, digital "tick" or "pew" sound. * **Impact:** A dull thud for hull damage. * **Upgrade/Level Up:** A rising harmonious chime (e.g., C-E-G arpeggio). * **Death:** A glass shattering or geometric crumbling sound. * **Collect:** A soft "pop" when collecting XP dots. ### 3. Gameplay Loop * **Core Mechanic:** "Shape Evolution". The player starts as a Triangle. * **Progression:** 1. Move around the arena to collect passive "Dots" (XP). 2. Gain enough XP to add a side to your polygon (Triangle -> Square -> Pentagon -> Hexagon). 3. **Advantage:** Higher-sided polygons have more health and potentially more firing ports/spread, but are larger targets. * **Combat:** * Players shoot edge-like projectiles from their sides. * Projectiles travel in a straight line and despawn after a set distance. * Collision with projectiles reduces HP. Collision with other bodies deals massive physical damage (ramming). * **Win/Loss:** If HP reaches 0, the player explodes into dots (loot for others). The game restarts instantly or shows a "Game Over" screen with the final shape reached. ### 4. Mobile Controls & Interaction * **Orientation:** **Landscape Mode** is mandatory for field of view. * **Control Scheme:** **Twin-Virtual Joysticks**. * **Left Joystick:** Controls movement (Velocity based). * **Right Joystick:** Controls aiming rotation and auto-fires when held down. * **UI Elements:** * Joysticks must be semi-transparent and reposition automatically under the thumb on touch start. * A simple Score/Shape counter in the top-left. * A health bar floating above the player mesh. * **Feedback:** * **Camera Shake:** Subtle camera shake when the player takes damage or destroys an enemy. * **Haptics:** Trigger `navigator.vibrate(20)` on shooting and `navigator.vibrate(200)` on death. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Gons.io is a fascinating multiplayer IO game that challenges the traditional concept of geometry with the intriguing question: "How many edges are on a circle?" This unique polygon-based game combines strategic thinking with fast-paced action, where players control geometric shapes to expand their territory and outmaneuver opponents in real-time battles.

With a solid 3.0 rating from active players, Gons.io offers an engaging twist on the classic IO game formula by incorporating geometric elements that make each match both educational and entertaining.

Core Features

Unique Polygon Gameplay

Unlike traditional IO games, Gons.io focuses on geometric shapes and polygon mechanics. Players must strategically expand their polygonal territory while defending against other players' advances. The game's core concept revolves around the mathematical paradox of circles and edges, creating a thought-provoking gaming experience.

Real-Time Multiplayer Action

Compete against players from around the world in fast-paced, real-time matches. The multiplayer environment ensures that every game is different, with dynamic strategies and unpredictable opponents keeping you engaged.

Smooth Browser-Based Gaming

  • Instant Play : No downloads or installations required
  • Cross-Platform Support : Works seamlessly on desktop and mobile browsers
  • Optimized Performance : Smooth gameplay experience across all devices
  • Free to Play : Complete access to all game features at no cost

Strategic Territory Control

Master the art of polygon expansion as you claim territory and defend your domain. The game requires both quick reflexes and strategic planning to succeed against skilled opponents.

Gameplay Mechanics

Gons.io combines simple controls with complex strategic depth. Players navigate their polygon around the game field, expanding their territory by creating closed shapes. The challenge lies in balancing aggressive expansion with defensive positioning, as other players constantly threaten your claimed areas.

The geometric theme adds an educational element to the gameplay, making players think about mathematical concepts while engaging in competitive action.

Operation Guide

Getting started with Gons.io is straightforward:

  • Mouse Control : Use your mouse to navigate your polygon around the playing field
  • Keyboard Support : Alternative keyboard controls available for different play styles
  • Territory Expansion : Create closed shapes to claim new areas
  • Defense Strategy : Protect your existing territory from opponent invasions

Detailed in-game instructions provide additional guidance for new players, ensuring everyone can quickly understand the mechanics and start competing effectively.

Why Play Gons.io

Perfect for Quick Gaming Sessions

Gons.io is ideal for players who want engaging multiplayer action without long commitment periods. Matches are fast-paced and exciting, perfect for breaks or casual gaming sessions.

Educational Gaming Experience

The game's geometric focus makes it appealing to players interested in mathematics and spatial reasoning. It's an excellent way to exercise your brain while having fun.

Competitive Multiplayer Environment

The real-time multiplayer aspect ensures constant challenge and improvement opportunities. Every match teaches new strategies and techniques.

Accessible to All Skill Levels

Whether you're new to IO games or a seasoned veteran, Gons.io offers gameplay that's easy to learn but difficult to master, ensuring long-term engagement.

Frequently Asked Questions (FAQ)