Rack
8-Ball Pool — drag from cue ball to aim & shoot
You Win!
Score: 0
PAUSED
Rack is a top-down 2D billiards game built on the classic rules of 8-ball pool. Fifteen balls are racked in a triangle at one end of the table — seven solids (1–7), seven stripes (9–15), and the 8-ball at the apex of the triangle — with the cue ball spotted at the far end, ready to break. Your goal: pot all seven balls in your assigned group (solids or stripes), then legally pocket the 8-ball to win. The AI opponent plays every alternate turn, and turns alternate strictly: potting a ball does not buy you another shot, so every single turn has to count.
To aim and shoot, click or tap anywhere on the canvas and drag away from where you want to send the cue ball. The further you drag, the more power transfers to the shot. A dotted aim line projects outward from the cue ball so you can visualise your line before releasing. Releasing the mouse or lifting your finger fires the shot, and Escape or P pauses the game at any point. The physics engine handles the rest — elastic ball-to-ball collisions, felt friction slowing every ball naturally, and cushion bounce off the mahogany rails.
A foul is called when you pocket the cue ball (a scratch), fail to make contact with any ball, or strike a ball from the wrong group once groups have been assigned. A foul does not hand the table over: the cue ball returns to the break spot and whoever fouled shoots again. On your own foul you will see a red flash across the felt signalling the infraction, and you get ball-in-hand — drag the cue ball to any position on the table and release to place it before you aim.
Three difficulty modes shape how challenging the AI opponent is. Easy mode gives the AI up to 30 degrees of random aiming error and unpredictable power, making it beatable even for newcomers to pool. Medium mode aims at the next ball in its own group with only a small wobble — under nine degrees — representing a casual pub-league opponent. Hard mode picks whichever of its balls sits best relative to a pocket, aims at it with no error at all, and fires at 85% power, so it rarely misses and rarely fouls. Every tier aims straight at the centre of its target ball rather than computing a cut to a pocket; what changes between tiers is which ball it chooses and how much error it adds.
Most browser and mobile 8-ball games funnel you through account creation, energy meters, or coin shops before you ever break a rack — and many lean on heavy aim-assist that draws the full path of every ball, turning pool into a geometry-tracing exercise. Rack takes the opposite approach: it loads straight into the difficulty select, and the aim line stops at the first ball it meets, marking the contact point with a ghost ball and a short kick-off arrow — it never traces a ball's full path around the cushions, so reading rail angles is still a skill you develop rather than a solution the game hands you. The physics carries the rest — elastic ball-to-ball collisions, felt friction that slows every ball naturally, and cushion bounce off the mahogany rails — so position play behaves the way you'd expect from a real table.
The other distinctive piece is the Daily Challenge. Alongside the three standard AI tiers, a seeded daily mode deals the same rack and the same break position to everyone playing that day and puts you up against the Hard AI, with a one-time 25-point bonus the first time you beat it on a given date. Combined with a scoring system that pays a base 10 points, 10 more per ball down from your group, and a 5-point speed bonus for closing the game inside 16 turns — eight of your own — the incentive isn't just to win, it's to win cleanly and fast. That gives Rack the shape of a score-attack arcade game layered on top of 8-ball rules, including scratches, wrong-group fouls, and ball-in-hand.
Pocket billiards descends from centuries-old European table games, but the eight-ball variant is a comparatively modern American invention that took hold in the early 20th century and spread through bars, pool halls, and family basements to become the world's most widely played casual pool game. Its enduring appeal is the clean structure Rack reproduces: fifteen object balls split into solids and stripes, groups claimed on the first ball potted, and the neutral 8-ball saved for last — pocket it early and you lose instantly. That simple rule set produces genuine strategy at every level, from safety play after a foul to planning the position of your final shot on the 8, and it translates naturally to a top-down browser table where the rules are enforced for you and the rack is always ready.