Mini Pool - Free Online Pool Game

Seele01-Flash
By
Mini Pool is a fast-paced, free online pool game that challenges players to sink balls quickly for maximum points. Features realistic physics, time pressure gameplay, and two-player mode for competitive fun.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mini Pool". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A polished, arcade-style aesthetic. Use a high-contrast color palette: a rich **Red Felt** pool table (matching the reference) with dark wood rails to ensure the bright pool balls pop on small screens. * **Camera Perspective:** A top-down view (orthographic or high-FOV perspective) oriented vertically (Portrait Mode) to maximize screen real estate for mobile users, allowing for one-handed play. * **Models & Materials:** * **Balls:** Standard sphere geometries with high shininess (MeshStandardMaterial with roughness 0.1, metalness 0.2) and an environment map reflection to simulate polished resin. * **The Table:** A rectangular playing field with 6 pockets. The rails should have physics colliders (cushions). * **The Cue:** A simple tapered cylinder that appears only when the cue ball is stationary. * **Lighting:** A strong overhead spotlight causing soft shadows directly under the balls (to help depth perception) and ambient lighting to illuminate the pockets. * **Performance:** Use instanced meshes for the balls if possible, or simple sphere geometries with shared materials to maintain 60fps on mobile browsers. ### 2. Audio Requirements * **BGM:** A relaxing, loopable "Lounge Jazz" or "Lo-Fi Hip Hop" track to counter the stress of the timer. * **SFX:** * **Cue Hit:** A sharp, woody "thwack" sound, volume scaled by shot power. * **Collisions:** A "clack" sound for ball-on-ball collisions and a dull "thud" for ball-on-rail. * **Pockets:** A satisfying "rattle and drop" sound when a ball is potted. * **UI Feedback:** A "buzzer" sound for time running out and a "negative tone" for scratching (potting the white ball). ### 3. Gameplay Loop * **Core Mechanic:** The player must clear the table (pot all colored balls) before the timer runs out. This is a **speed pool** game, not turn-based. * **The Timer:** A global countdown (e.g., 60 seconds). Potting a ball adds +3 seconds to the clock. * **Scoring:** * Standard Balls: +100 points. * **Pink Ball (Bonus):** +500 points (visualize with a glowing particle effect). * **White Ball (Scratch):** -50 points penalty and respawns the cue ball at the starting line. * **Win/Loss:** * **Win:** All colored balls cleared. * **Loss:** Timer reaches zero. * **Physics:** Integrate a physics engine (like Cannon.js or Ammo.js) to handle realistic momentum, friction, and restitution (bounciness of rails). ### 4. Mobile Controls & Interaction * **Control Scheme (Drag-to-Shoot):** * **Aiming:** Touching and dragging anywhere on the screen rotates the cue stick around the white ball. * **Power:** A "Pull-Back" mechanic. Dragging the finger *away* from the aiming direction pulls the cue stick back. The further the drag, the higher the power. * **Release:** Releasing the finger shoots the ball. * **Visual Aids:** * A **Trajectory Line** (dashed raycast) showing the path of the white ball to assist aiming on small screens. * A **Power Bar** UI element that fills up as the user drags back. * **Haptics:** Trigger `navigator.vibrate(50)` on ball impact and a heavy vibration when potting a ball. * **Orientation:** **Portrait Mode** (Vertical) is required. The pool table should be aligned vertically (short side at bottom/top) so the player shoots "upwards." * **UI Layout:** * Top Center: Timer (Large, changing color to red when <10s). * Top Left: Score. * Center: "Game Over/Retry" modal with a large, thumb-friendly "Replay" button (minimum 60x60px). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Mini Pool

Mini Pool is an exciting online billiards game that puts a unique spin on traditional pool gameplay. This free browser-based game combines the classic elements of pool with fast-paced, time-sensitive mechanics that keep players on their toes. With realistic physics simulation and intuitive mouse controls, Mini Pool offers an authentic pool experience that's accessible to players of all skill levels.

The game challenges you to think fast and aim precisely - the quicker you sink the balls, the higher your score climbs. But beware of the time pressure: hesitate too long, and it's game over!

Core Features

Time-Pressure Gameplay

Unlike traditional pool games, Mini Pool adds an exciting time element. Speed is rewarded with higher points, creating an intense racing-against-time experience that keeps every shot thrilling.

Realistic Physics Engine

The game features authentic ball physics that mirror real pool mechanics. Every shot, spin, and collision behaves naturally, making strategic planning and precise aiming crucial for success.

Two-Player Mode

Challenge friends or family members in exciting head-to-head matches. The two-player functionality adds a competitive social element that makes Mini Pool perfect for multiplayer gaming sessions.

Strategic Penalty System

Be careful with your shots! The game includes strategic elements like the special PINK ball and a -50 point penalty for potting the white cue ball. These mechanics add depth and require careful consideration with every move.

Free Browser Gaming

No downloads, no installations - just pure pool fun directly in your web browser. Compatible with all modern browsers and devices for gaming anywhere, anytime.

Game Mechanics

Mini Pool revolves around sinking colored balls into pockets as quickly as possible while avoiding penalties. Each successful pot awards points, with bonus scoring for speed. The faster you clear the table, the higher your final score.

The special PINK ball serves as a key strategic element, while the white cue ball becomes a hazard to avoid - sink it accidentally and lose 50 valuable points from your score.

Controls and Gameplay

Mouse Controls

  • Aim : Move your mouse to position and aim the cue stick
  • Power : The distance you pull back determines shot strength
  • Shoot : Left-click to take your shot
  • Precision : Fine-tune your aim for perfect angle shots

The intuitive mouse-based control system makes Mini Pool easy to learn but challenging to master. New players can jump right in, while experienced pool players will appreciate the precision and control available.

Why Play Mini Pool

Mini Pool stands out from other online pool games through its unique combination of speed, strategy, and skill. The time-pressure element creates excitement in every game, while the realistic physics ensure that improvement comes through practice and understanding of real pool principles.

Whether you're looking for a quick gaming session or an extended competitive match with friends, Mini Pool delivers engaging entertainment. The game's balance of accessibility and depth makes it perfect for casual players and serious gamers alike.

The two-player mode transforms Mini Pool into a social experience, perfect for challenging friends or settling scores in head-to-head pool battles.

Frequently Asked Questions (FAQ)