When the direct lane to a same-color cluster is blocked, the bounce off the side wall is the only way in. This bubble shooter build ships its own engine, so the bounce geometry, the snap rule, and the scoring multipliers are all fixed numbers you can plan around. Read the four rules below before your next run.
How the wall bounce actually behaves
The play field is 540 design units wide. Bubbles carry a radius of 22, so the shot reflects off a wall the moment its center crosses x = 22 on the left or x = 518 on the right. The engine flips the horizontal velocity and keeps the vertical velocity unchanged. The bounce is a perfect mirror.
The aim preview uses the same reflection code as the live shot. It traces the path in steps of 8 px for up to 200 steps, which covers 1600 px of travel including rebounds. Rule one follows from this.
1. When the direct lane is blocked, trust only the dotted preview line. It stops at the exact ceiling line or within 42 px of the first bubble in the path, so its endpoint is the true landing zone.
The engine also clamps aim between 0.15 radians and pi minus 0.15 radians, about 8.6 degrees above horizontal on each side. Flat shots along the wall do not exist in this build. On a keyboard, each arrow press moves the aim by 0.05 radians, about 2.9 degrees, so precision aiming costs roughly three presses per 10 degrees of adjustment.
The snap rule that decides where your bubble lands
A shot collides with a grid bubble when the center distance drops below 40 px, which is the 44 px diameter minus a 4 px tolerance. The engine then runs snapBubbleToGrid. That function scans every empty cell in all 20 grid rows and places the bubble in the empty cell nearest to the impact point.
This has one consequence players miss. The bubble does not lock to the cell you visually touched. On steep angled or double-bounce shots it can settle one slot lower than the contact point. Aim so the preview endpoint sits slightly above your intended slot, and the nearest-empty-cell rule then works for you instead of against you.
Matches use a flood fill through the six hex neighbors of each cell. Three or more connected bubbles of the same color pop. Odd rows are offset by half a bubble and hold 11 columns instead of 12, which changes which cells count as diagonal neighbors.
Scoring math and the combo cap
Each popped bubble is worth 10 points times the combo multiplier. The multiplier equals the number of consecutive successful shots, capped at 5. A miss resets the counter to zero.
Floating bubbles pay more. After a pop, the engine traces connectivity down from row zero, and every bubble cut loose from the ceiling falls for 15 points each, also times the multiplier.
Two worked examples from the code.
1. A 4-bubble pop on your first matching shot scores 40 points, because the multiplier is 1.
2. The same 4-bubble pop as your third consecutive match scores 120 points, because the multiplier is 3. If it also drops 3 floating bubbles, add another 135 points.
Chaining matters more than cluster size. A 3-pop on a hot streak outscores a 6-pop on a cold one.
The six shot ceiling clock
Every sixth shot pushes the entire field down by one row, 38 px. The engine warns you with a flashing counter once three or fewer shots remain before the drop. Plan around it with a fixed rule.
1. Treat shots one to three after each drop as setup shots. Use them on the highest reachable cluster.
2. Treat shots four to six as mandatory progress. If no match is available, spend the shot where a future match can form, never on a color that has no neighbors of the same color.
The dead line sits at y = 804. The grid starts 8 rows deep at row height 38 px, and the ceiling drop advances 38 px per 6 shots, so you have a fixed budget of drops before bubbles cross the line. Clearing bottom rows early extends that budget.
The color feed is biased, use it
The next bubble is drawn from the colors still present on the grid 85 percent of the time, and from the full level palette only 15 percent of the time. Level 1 runs with 6 colors, and the palette grows by one per level up to 8.
1. When you are one bubble away from eliminating a color from the grid, take that shot early. After the pop, 85 percent of future feeds exclude that color, and your effective odds on every later shot improve.
2. Do not hoard a color that appears only once on the grid. The feed can still hand it back through the 15 percent branch.
Bubble Shooter honest downsides
The snap-to-nearest-empty-cell rule punishes rushed bank shots, and the warning text appears only in the last three shots of a drop cycle. The 85 percent feed bias is a bias, never a guarantee. Scores also depend on the seeded board layout, so two runs with identical play can differ.
Pre-shot checklist
- [ ] Preview line traced to its endpoint, including one bounce if the lane is blocked.
- [ ] Endpoint sits at or above the intended slot, because the snap picks the nearest empty cell.
- [ ] Current and next color both checked against the grid before committing.
- [ ] Counted the shot position within the six shot drop cycle.
- [ ] Cluster of three confirmed, or the shot deliberately builds toward one.
- [ ] Floating bubble potential scanned before choosing between two equal pops.
Play the [bubble shooter game](https://webrecast.com/en/bubble-shooter) with these numbers in mind. If your bounce shots land somewhere the preview did not predict, or the ceiling drops on a count other than six, send the shot sequence. Landing data from real runs is the fastest way to refine this guide.