Bobble Bubble is a browser-based arcade puzzler inspired by classic “shoot-and-match” bubble games. Players control a swiveling cannon at the bottom of the screen, aiming and firing colored bubbles toward a descending cluster. When three or more bubbles of the same color touch, they pop, awarding points and clearing space. The goal is to prevent bubbles from crossing the “danger line” while racking up combos for higher scores.
Technical highlights
Pure JavaScript & Canvas – The board is rendered with HTML5 <canvas>
API; game state lives in a 2-D array that tracks bubble color, position, and hit-testing rectangles.
Physics-lite collision – A simple vector algorithm calculates the bubble’s final grid slot on impact, eliminating heavy physics libraries and keeping the payload under 50 KB.
Aiming assist & trajectory preview – Real-time ray-casting draws a faint guideline that bounces off walls, teaching angles and reflection math.
Adaptive difficulty – Every ten shots, the ceiling lowers by one row; speed ramps up based on the player’s current score to maintain challenge.
Sound & particle effects – Small audio sprites and a lightweight particle system (colored circles with alpha fade) add satisfying feedback without degrading mobile performance.
State persistence – LocalStorage saves high scores and the current board, letting players resume where they left off, even after a page reload.
Accessibility options – A color-blind mode swaps hues for distinct patterns, and prefers-reduced-motion
disables background parallax for sensitive users.
Ideal use-cases
Portfolio centerpiece demonstrating Canvas animation, collision logic, and state management
Teaching aid in workshops about game loops, delta-time timing, and optimization
Engaging embed for tech blogs or game portals seeking lightweight, touch-friendly content
Last Update | 06 Jun, 2025 |
Created | 19 May, 2025 |
Technology Used | Html Css Javascript |
Compatible With | Any Browser |
Documentation | No |
Layout | Responsive |
Total Download | 4 |
Total Views | 9 |
Tags | Bubble Shooter Game JavaScript Canvas Game HTML5 Arcade Match-3 Puzzle Browser Game Open-source JS Game Bubble Pop Responsive Web Game |