CLATIUMCLATIUMPOOL

Status: Active Development / Experimental
Not available on this site

README.md

Download v0.1.0

CLATIUMPOOL

CLATUIMPOOL banner: the CLATIUM carved-C mark beside the CLATUIMPOOL wordmark, with a steel pixel rack motif.

Sixteen balls, two players, one stubborn eight ball. A 2D eight ball pool game in Rust with deterministic physics.

ProjectCLATIUMPOOL
StatusActive Development / Experimental
TagsPool Rust Game Windows Experimental
Releasev0.1.0, first public build
Platform64-bit Windows 10 or newer
LicenceMIT OR Apache-2.0
RepositoryCLATUIMPOOL on GitHub

Screenshots

The playing screen: walnut table, racked balls, aiming line and the two player cards

Menu screen Settings screen

Overview

  • CLATIUMPOOL is a 2D eight ball pool game in Rust with deterministic physics.
  • Everything between the cue tip and the pocket is a deterministic Rust simulation.
  • The same shot always ends in the same place.

Current state

Version 0.1.0 is the first public build, for 64-bit Windows 10 or newer.

Works

  • Single self-contained Windows x64 binary, no installer and no console window.
  • Deterministic swept-collision physics with follow, draw and side spin.
  • Two-player eight ball with group assignment, fouls, ball in hand and win/loss on the eight.
  • Menu, pause, settings and game over screens; settings persist to clatuimpool.cfg.

On the table

FeatureDetails
Regulation geometry2.54 m × 1.27 m playing surface, six pockets, 57.15 mm balls and the standard rack.
Cue ball spinFollow, draw and side spin.
Aiming aidsDashed cue path, ghost ball, the object ball’s projected line and the cue ball’s deflection. Every layer can be switched off.
Ball in handA ghost cue ball follows the cursor: green where it may be placed, red against a ball, a cushion or a pocket mouth.
Potted trayThe balls each player has sunk stay visible in the bottom bar.
SettingsSixteen settings, all saved to clatuimpool.cfg.

Controls

InputAction
Move mouseAim
Hold left button, drag awayPull the cue back; further is harder
ReleaseShoot
Drag inside the spin padFollow and draw up and down, side spin left and right
Left clickPlace the cue ball when the banner says BALL IN HAND
RNew rack
EscPause menu
EnterPlay again on the game over screen

Physics

  • Continuous collision: swept time-of-impact for ball to ball and ball to cushion, so a 6.5 m/s break cannot tunnel through the pack.
  • Fixed step: 240 Hz sub-steps with at most 64 impacts per step.
  • Cloth: 0.6 m/s² rolling deceleration.
  • Cushions: 0.86 restitution, with mouths cut out of the rails.
  • Determinism: the same input reproduces the same final positions exactly, asserted by the test suite.

Known limitations

  • The release binary is for 64-bit Windows 10 or newer. Other systems need to build from source.

Downloads

Download clatuimpool-v0.1.0-win64.zip from the v0.1.0 release. Unzip and run clatuimpool.exe.

Build from source

Needs a Rust toolchain with edition 2024 support (1.85+).

cargo run --release
cargo test -p pool-core   # 14 simulation and rules tests

Licence

MIT OR Apache-2.0, at your option.

Downloads

Current state

Active Development / Experimental

Version 0.1.0 is the first public build, for 64-bit Windows 10 or newer.

Works

  • Single self-contained Windows x64 binary, no installer and no console window.
  • Deterministic swept-collision physics with follow, draw and side spin.
  • Two-player eight ball with group assignment, fouls, ball in hand and win/loss on the eight.
  • Menu, pause, settings and game over screens; settings persist to clatuimpool.cfg.

Releases

v0.1.0

CLATUIMPOOL v0.1.0

Latest

Published

  • First public build.
  • Single self-contained Windows x64 binary, no installer and no console window.
  • Deterministic swept-collision physics with follow, draw and side spin.
  • Two-player eight ball with group assignment, fouls, ball in hand and win/loss on the eight.
  • Menu, pause, settings and game over screens; settings persist to clatuimpool.cfg.

Other projects

  • CLATIUM Launcher

    Status: Active Development / Experimental

    A re-skinned build of the Horizon launcher, in development.

    • Launcher
    • Fork
    • In development
    • Windows
    • Rust
  • CLATIUM CODE

    Status: In design

    A terminal-based AI coding agent written in Rust, with an embeddable core and fully replayable sessions.

    • Developer tool
    • AI
    • Rust
    • Windows
    • In design