Snooker, Pool, Billiards 

An open-source billiards game bringing realistic physics to your browser. Developed with a focus on precision mechanics, this project models complex ball-to-ball and ball-to-cushion interactions using modern threejs WebGL. Practice and play online for free. no login required.

Game Modes

  • Nine Ball: Practice your break and share your best replays.
  • Snooker: The ultimate challenge—can you hit a 147 for the leaderboard?
  • Three Cushion: A rigorous test of physics and player skill.
  • Vs. The Claw: Pit your skills against our AI bot.
  • Online Multi-player: Join the lobby for a two-player match.

Features

  • Advanced Physics: Accurate modeling of backspin, sidespin, and cushion bounces based on academic papers (Han 2005, Mathavan 2010).
  • Cross-Platform: Runs in any modern browser using WebGL—Desktop, Mobile, and even low-power devices like the Raspberry Pi.
  • Record & Playback: Save your best breaks to watch later.
  • Open Source: Built with TypeScript and Three.js.

Controls

Playable via Mouse, Touch, or Keyboard:

Aim Arrow Keys (Left/Right) or Mouse
Fine Aim Ctrl + Arrow Keys
Spin (Top/Back) Arrow Keys (Up/Down)
Side Spin Shift + Arrow Keys (Left/Right)
Power/Shoot Hold Spacebar

Technical Deep-Dive

Billiards Screenshot

For the curious, the physics engine incorporates:

  • Sliding & Rolling Motion: Dynamic friction transitions.
  • Cushion Interaction: Numerical solutions for compression and restitution phases.

The game models 8-ball, 9-ball, snooker, carom, three cushion billiards practice and online. View the full source code, technical diagrams, and equations on GitHub.


Leave a comment

Log in with itch.io to leave a comment.