Snooker Break

Original

Pot the reds, take the colours and clear the table.

Snooker Break

At a glance

Table
A 2 to 1 table with six pockets, a baulk line and D, 15 reds in a triangle and six colours on their spots
Modes
Practice on your own, or one frame against the computer on Normal or Easy
Controls
Press on the cloth and pull back away from where you want to shoot, like a slingshot, then let go. The further you pull, the harder the shot. Arrow keys turn the aim and change the power, Space shoots, Esc or P pauses
Mouse
Point to aim from the white, then press and hold without moving to build power, and let go
Touch
A drag only aims and sets the power. Shoot fires, unless you untick Touch: confirm with Shoot
Spin
A pad for follow (top), screw (bottom) and side
Saves
Your best break and frames won against the computer, in this browser only
Cost
Free, no account

How a frame plays

  • While reds remain, pot a red (1 point), then a colour: yellow 2, green 3, brown 4, blue 5, pink 6, black 7. A potted colour goes back on its spot, or on the highest free spot if its own is covered. Several reds potted in one shot all count.
  • On a colour, the game takes the colour your aiming line touches when you shoot as the one you nominate, or the brown if the line touches no colour.
  • When the reds are gone, the colours must be taken in order from yellow to black, and they stay down.
  • Fouls: hitting nothing, hitting a ball that is not on first, potting a ball that is not on, potting two colours at once, or potting the white. The other side gets 4 points, or the value of the ball on, the ball hit first or any ball potted, if that is higher.
  • After any foul the white goes into the D for the next player. Drag it where you want inside the D, then press Place in D or Space.
  • A shot that pots nothing ends the break. Against the computer the turn passes. In Practice you play on, and the second score counts the points your fouls gave away.
  • Potting the last black ends the frame, and so does a foul on it. Against the computer the higher score wins and equal scores are a drawn frame. In the rule test 15 reds each followed by the black, then the six colours, made the maximum of 147.

Aiming, power and spin

  • A dashed line runs from the white to a ghost ball where it will first touch another ball or a cushion. When it meets a ball, a short line shows where that ball will go: green if the ball is on, red if not. The line stops at that first contact.
  • The power bar beside the spin pad shows the strength as a percentage. The two small arrow buttons under it nudge the aim by about a quarter of a degree.
  • Follow keeps the white rolling forward after it hits a ball, screw pulls it back, and the middle of the pad plays no spin. In the rule test a full-ball hit with follow sent the white on, screw brought it back, and no spin left it almost still.
  • Side spin bends the white a little as it comes off a cushion and nudges the ball it hits.
  • A cushion sends a ball back at three quarters of the speed it came in with, and in the rule test 3,000 collisions between balls never gained energy.

How the computer plays

  • For every ball that is on and every pocket, it works out where the white must strike, and drops any pot that is too thin a cut or blocked by another ball. It rates the rest by how full the contact is and how far the balls must travel. On Normal, when a colour is on, higher colours earn a bonus.
  • If no pot rates well enough it plays safe: a straight hit on the nearest ball that is on, or one off a cushion, or failing that a plain shot at the nearest ball.
  • Easy adds aim error of up to about one degree and power error of up to an eighth. Normal adds about a twentieth of a degree and under 2% of power.
  • It shows its aim for about 1.15 seconds before each shot, and places the white in the D itself after your foul.

In the rule test both levels played from the same 150 positions with the same random numbers. Normal potted a ball that was on from 61 of them and Easy from 19. They picked a different ball in 16, all with a colour on. In computer-against-computer test frames capped at 150 shots, Normal finished 3 of 4 and Easy 2 of 4, between 44% and 46% of all shots were fouls, and the highest break was 17.

Known limits

  • No undo.
  • You cannot pick the colour to nominate: the game takes it from your aim line.
  • After any foul the white goes into the D, not only after it has been potted.
  • No free ball and no miss rule.
  • Equal scores at the end give a drawn frame, with no tie-break.
  • On a 390 by 844 screen the table turns upright and each ball is drawn under 5 pixels across.
  • At 1280 by 720 the game frame is 848 pixels tall, so scroll to see the whole table and the controls under it.
  • On a 390 by 844 screen the cookie notice covered the Play button in our check until it was answered.
  • Leaving the window or switching tabs pauses the game.
  • If storage is blocked, your best break and wins are not kept.

How it was built and checked

AI tool
Codex
First committed
2026-10-15, in one commit with three other originals: bowling, car racing and a flight game
Size
One HTML file of 352 lines (about 30 KB), no game libraries
Rounds of changes
1, from the build record
Checked at build
The build report: 19 test groups, including a 147 break, foul values, re-spotting, 10,000 collisions that never gained energy, 5,000 full-power shots with no ball passing through another, and 200 simulated frames against the computer, of which 159 ended on their own and 41 reached the 600-shot cap. It lists real browser visuals, real device gestures and how the game feels as not verified
Checked since
2026-11-11: a new rule test (1,269 checks covering the rack and spots, scoring, fouls and penalties, nominations, the clearance, a 147, re-spotting, the D, collisions, cushions, pots, spin, the aim line, the two levels on 150 positions, 8 computer frames, and aiming, Shoot, spin, fouls, placing in the D, the end, Play Again and pause through the real screen code at both sizes), and an automated browser check of the local build at 1280 by 720 and 390 by 844. At desktop size, in Practice, it dragged back with the mouse to shoot. At phone size, against Easy, it answered the cookie notice, tapped the spin pad and Shoot, and saw the computer take its turn. Each time it then set the table to the last black, potted it with Shoot to end the frame, and pressed Play Again
Played on a phone
2026-11-11, a full game on a real phone before this page went live

Embed Snooker Break on your site

Free to embed. Please keep the credit link.

<div style="position:relative;padding-top:75%;max-width:640px"><iframe src="https://aivibecodedgames.com/games/snooker-break/" title="Snooker Break (free browser game)" style="position:absolute;inset:0;width:100%;height:100%;border:0" loading="lazy" allow="fullscreen" allowfullscreen></iframe></div>
<p><a href="https://aivibecodedgames.com/play/snooker-break/">Play Snooker Break free</a> on AI Vibe Coded Games</p>

How it was vibe coded

ToolCodex
Rounds of changes: 1
First committed2026-10-15

The opening prompt

Make a top-down snooker game on a full-size table (2:1), with six pockets, a baulk line and D, 15 reds in a triangle, and the six colours on their spots: yellow, green and brown on the baulk line, blue in the centre, pink at the apex and black at the back. Use proper ball physics: elastic collisions, rolling friction, cushion bounce that loses a little speed, balls dropping into pockets with a short animation. Control: drag back from the cue ball to aim and set power like a slingshot, with a faint aiming line showing where the cue ball first hits and the object ball direction; fine-aim by moving the finger sideways; a small spin pad lets the player add follow or screw. Rules: alternate a red and a colour; a red scores 1 and a colour scores its value (yellow 2, green 3, brown 4, blue 5, pink 6, black 7); colours are re-spotted while reds remain; once the reds are gone the colours must be potted in order and stay down. Fouls (wrong ball first, no ball hit, potting the cue ball) give the opponent 4 points or the value of the ball involved if higher, and the next player may place the cue ball in the D. The frame ends when the black is potted. Two modes: Practice, where you play alone keeping score and your highest break, and versus the computer with Easy and Normal levels, where the computer picks the easiest legal pot, sometimes misses and sometimes plays safe. Show a scoreboard with the current break and which ball is on. Save the best break.

Game controls

  • Drag back from the cue ball to aim and set the power, then release
  • Tap the spin pad for follow or screw
  • Place the cue ball in the D after a foul

The game brief includes touch controls for phones.

Open the game on its own

More games