Comball - Merge Pool Ball Game

Seele01-Flash
By
Comball is an exciting merge puzzle game that combines pool ball mechanics with addictive merging gameplay. Drop and combine numbered balls to create higher values and achieve the highest possible score.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Comball - Pool & Merge Puzzle**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** To replicate the vector art style in 3D, use "Cel-Shading" or "Toon Shading". The balls should look flat and vibrant, with thick black outlines (using an inverted hull mesh or shader edge detection). * **The Balls (Core Asset):** * Spheres representing pool balls. Each ball has a specific color (e.g., Yellow, Blue, Red, Purple, Green, Brown) and a distinct number on it (1, 2, 3, etc.). * When two balls merge, generate a particle explosion effect (using simple square geometries) resembling comic book "impact" lines, as seen in the screenshot. * **The Table/Arena:** A dark grey, minimalist circular or rectangular pool table felt. No complex textures; just solid, matte colors to keep the focus on the bright balls. * **Lighting:** Use ambient lighting combined with a directional light to cast soft, distinct shadows (like the drop shadows in the image) beneath the balls. * **Performance:** Use `InstancedMesh` for the balls if possible to handle many objects. Limit polygon count per sphere (e.g., 16 segments) since the toon shader hides imperfections. ### 2. Audio Requirements * **BGM:** A laid-back, "Lounge Jazz" or "Lo-Fi Hip Hop" track. It should be relaxing to encourage thinking, similar to a quiet pool hall atmosphere. * **SFX:** * **Collision:** A satisfying "clack" sound of billiard balls hitting each other (vary pitch based on velocity). * **Merge:** A "pop" or "chime" sound combined with a magical sparkle sound when two identical balls combine. * **Launch:** A "whoosh" sound when the player releases a ball. * **Game Over:** A pool cue scratch or a descending whistle sound. ### 3. Gameplay Loop * **Core Mechanic:** This is a "Suika (Watermelon) Game" variant but with Pool physics. The player drops or shoots pool balls into a contained area. * **Merge Logic:** When two balls with the same number/color collide, they merge into the next number in the sequence (e.g., two "1" balls become a "2" ball). The new ball is slightly larger. * **Physics:** Unlike standard Suika games which use gravity (dropping from top), this game should simulate a top-down pool table. Balls have drag/friction and stop moving eventually. The player shoots from the edge of the arena inwards. * **Turn-Based/Real-time:** The player aims and shoots a ball. They must wait until all balls on the table stop moving before shooting the next one. * **Game Over:** If the table becomes too crowded and a ball crosses a "danger line" or falls into a pocket (depending on specific rules, let's assume an overflow mechanic for standard merge games), the game ends. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Portrait Mode** preferred (easiest for one-handed play). * **Control Scheme (Drag & Shoot):** * **Aim:** Touching anywhere on the bottom 1/3 of the screen and dragging creates a trajectory line (previewing the shot direction). * **Shoot:** Releasing the finger fires the current ball into the arena. * **Haptic Feedback:** Trigger a light vibration (Taptic Engine) on every collision and a heavy vibration on every successful merge. * **UI Layout:** * **Top:** Current Score (large font) and "Next Ball" preview (smaller display). * **Buttons:** A "Restart" and "Settings" button in the top corners (min size 44x44px for touch targets). * **Visual Feedback:** When aiming, show a dotted line indicating where the ball will travel. When a merge happens, display floating text (+Score) at the collision point. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Comball is a captivating merge puzzle game that puts a unique spin on the popular watermelon merge format. Instead of fruits, you'll be working with colorful numbered pool balls, combining strategy and physics in an entertaining gameplay experience. The game challenges players to think strategically about ball placement while enjoying the satisfying mechanics of merging identical numbers.

Core Features

Innovative Merge Mechanics

Comball stands out with its unique pool ball theme applied to the merge game format. Each ball features distinct colors and numbers, making it easy to identify matching pairs while adding visual appeal to the gameplay.

Strategic Gameplay

  • Physics-Based Dropping : Balls follow realistic physics when dropped, requiring careful consideration of placement
  • Number Progression : Merge two identical numbered balls to create the next number in sequence
  • Score Optimization : Plan your moves carefully to achieve maximum points and reach higher numbers
  • Endless Challenge : Continue playing to beat your personal best scores

Visual Design

The game features bright, colorful pool balls with clear numbering systems. The clean interface ensures players can easily identify merge opportunities while enjoying the vibrant graphics.

Gameplay Instructions

Basic Controls

  • Mouse/Touch : Click or tap to position balls before dropping
  • Strategic Placement : Consider where balls will roll and settle after dropping
  • Merge Planning : Look for opportunities to create chain reactions

How to Play

  1. Drop Balls : Position your cursor and click to drop numbered balls into the play area
  2. Find Matches : Look for two balls with identical numbers touching each other
  3. Create Merges : When identical balls touch, they automatically combine into the next number
  4. Plan Ahead : Think about ball physics and positioning to create efficient merges
  5. Avoid Overflow : Don't let balls pile up too high or the game will end

Game Strategy

Beginner Tips

  • Start by focusing on merging lower-numbered balls first
  • Try to keep similar numbers close together
  • Use the sides of the container to help guide ball placement
  • Don't rush - take time to plan each drop

Advanced Techniques

  • Create cascading merge combinations for bonus points
  • Manage space efficiently by clearing lower numbers quickly
  • Use ball physics to your advantage by bouncing off existing balls

Why Play Comball

Perfect for Puzzle Lovers : If you enjoy merge games like 2048 or watermelon merge, Comball offers a fresh take with its pool ball theme and physics-based gameplay.

Accessible Yet Challenging : Easy to learn but difficult to master, making it perfect for both casual players and those seeking a mental challenge.

Free Browser Gaming : No downloads required - play instantly in any modern web browser on desktop or mobile devices.

Relaxing Yet Engaging : The colorful visuals and satisfying merge mechanics provide a perfect balance of relaxation and mental stimulation.

Frequently Asked Questions (FAQ)