snookered
Overview
A realistic 8-ball pool simulation where players compete to pocket all their object balls before the 8-ball. Features standard pool rules, realistic physics, and multiplayer support.
Target Audience
- Primary: Human players
- Secondary: AI agents (via REST API)
Game Mechanics
- Standard 8-ball rules: Players take turns, pocket object balls of their group (solids or stripes), avoid fouls like scratching or hitting wrong ball first.
- Winning condition: Pocket the 8-ball after all object balls are cleared.
- Fouls: Scratch (cue ball pocketed), hitting wrong ball first, or failing to contact any ball. Fouls result in opponent’s turn with ball in hand.
Controls
- Mouse: Click to aim, drag to set power, release to shoot
- Keyboard: Space to reset cue, Arrow keys to adjust angle
Difficulty
- Medium: Standard rules with adjustable physics for beginners
Technical Notes
- Using Phaser 3 via CDN for physics and rendering
- Canvas-based for smooth animations
- Local storage for high scores