Pool Master - Free Online Pool Game

Seele01-Flash
By
Pool Master is a challenging free online pool game that tests your precision and strategy skills. Experience realistic physics-based billiards gameplay with intuitive mouse controls.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Pool Master". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Realistic but optimized 3D graphics. The scene should focus on a standard Pool Table with **Red Felt** (as seen in the reference image) and dark wooden rails. * **Assets:** * **Table:** A rectangular pool table with 6 pockets (corner and middle). Texture the surface with a high-friction red felt material. * **Balls:** 16 balls total (1 White Cue Ball, 7 Solids, 7 Stripes, 1 Black 8-Ball). They should use `MeshStandardMaterial` with high gloss/roughness settings to simulate polished resin. * **Cue Stick:** A simple tapered cylinder model, textured with wood. * **Lighting:** Use a focused overhead Spotlight to simulate a pool hall atmosphere, casting dynamic shadows from the balls onto the table. Add an `AmbientLight` for base visibility. * **Mobile Optimization:** Use low-poly meshes for the environment. Limit real-time shadow map resolution. Use a single texture atlas for all ball numbers if possible to reduce draw calls. ### 2. Audio Requirements * **BGM:** Smooth, relaxing Lounge Jazz or Lo-fi beats to encourage concentration ("Brain Teaser" aspect). * **Sound Effects (SFX):** * **Impact:** A sharp "Clack" sound when balls collide (volume should scale with collision velocity). * **Cushion:** A dull "Thud" when a ball hits the rail. * **Pocket:** A hollow "Rattle-drop" sound when a ball is potted. * **Cue:** A "Tap" sound when the stick strikes the cue ball. ### 3. Gameplay Loop * **Physics Engine:** Integrate a lightweight physics solution (like `cannon-es` or a custom sphere-collision script) to handle momentum, friction (rolling resistance), and restitution (bouncing off rails). * **Game State:** * **Start:** Balls racked in a triangle formation. * **Aiming Phase:** Player rotates the camera/cue stick around the white ball. * **Shooting Phase:** Player adjusts power and releases. * **Simulation Phase:** Physics takes over; input is disabled until all balls stop moving. * **Rules:** Basic 8-ball rules. Potting a ball grants another turn. Scratching (potting cue ball) resets the cue ball position. * **Win/Loss:** Win by sinking the 8-ball after clearing your suit (Solids/Stripes). Lose by sinking the 8-ball early. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape** mode is mandatory to fit the wide table aspect ratio. * **Touch Controls:** * **Aiming:** Drag anywhere on the screen (left/right) to rotate the camera and aim angle around the cue ball. * **Visual Guide:** Render a **trajectory line** (using `THREE.Line`) extending from the cue ball to show the predicted path (essential for the "Brain Teasers" tag). * **Shooting:** A vertical slider UI element on the right side of the screen. Drag down to charge power, release to shoot. * **Fine Tuning:** Add small left/right arrow buttons for precise aim adjustments. * **Feedback:** * Trigger Haptic Feedback (vibration) when the ball hits a rail or another ball. * Display floating text ("Nice Shot!", "Combo!") when balls are potted. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Pool Master

Pool Master is an engaging free online pool game that challenges players to demonstrate their billiards skills through precision shooting and strategic thinking. This physics-based sports game combines the classic appeal of pool with brain-teasing challenges that will test even experienced players.

With its straightforward yet challenging gameplay, Pool Master offers an authentic billiards experience directly in your web browser. The game features realistic ball physics, requiring players to carefully consider angle, power, and spin for each shot.

Core Features

Realistic Physics Engine

Pool Master delivers an authentic billiards experience with accurate ball physics. Every shot responds naturally to your input, creating realistic rebounds, spin effects, and collision dynamics that mirror real pool gameplay.

Intuitive Mouse Controls

The game features simple yet precise mouse-based controls. Simply aim with your mouse cursor and click to shoot - the longer you hold, the more power you apply to your shot.

Brain-Teasing Challenges

Beyond basic pool mechanics, the game presents strategic puzzles that require careful planning and precise execution. Each level challenges you to think several shots ahead, making it both a sports game and a brain teaser.

Free Browser Gaming

Enjoy complete access to all game features without any cost. No downloads required - simply open your browser and start playing immediately on any device.

Gameplay Mechanics

Pool Master follows traditional pool rules while adding unique challenge elements. Players must pot balls in specific orders or clear the table within shot limits. The game progressively increases difficulty, introducing more complex table layouts and challenging shot requirements.

The physics system accurately simulates: - Ball-to-ball collisions - Cushion rebounds - Spin effects (topspin, backspin, sidespin) - Friction and rolling resistance

How to Play

Basic Controls: - Mouse Movement : Aim your cue stick by moving the mouse around the cue ball - Left Click and Hold : Build up shot power (longer hold = more power) - Release Click : Execute the shot

Gameplay Tips: 1. Plan Your Shots : Study the table layout before shooting 2. Control Your Power : Gentle shots often work better than powerful ones 3. Use Bank Shots : Utilize cushions to reach difficult angles 4. Practice Spin : Learn to apply english (spin) for advanced shot control 5. Think Ahead : Consider where the cue ball will end up after each shot

Why Play Pool Master

Pool Master stands out as an excellent choice for both casual players and pool enthusiasts. The game successfully captures the strategic depth of billiards while remaining accessible to newcomers. Its physics-based gameplay provides authentic feedback, helping players understand real pool concepts.

The combination of sports simulation and puzzle-solving creates engaging gameplay that's both entertaining and educational. Whether you're looking to improve your actual pool skills or simply enjoy a challenging browser game, Pool Master delivers quality entertainment.

The game's instant accessibility through web browsers makes it perfect for quick gaming sessions during breaks or extended play sessions when you want to master challenging levels.

Frequently Asked Questions (FAQ)