A modern HTML5 arcade game built for web and YouTube Playables-style publishing.
Switch your ball color to match incoming beams.
- Match the beam to pass
- Wrong color ends the run
- Perfect timing gives bonus score
- Combo increases score multiplier
Tap anywhere to switch color.
- Space / Click / Enter / Arrow Up: switch color
- P: pause
- M: sound toggle
- F: effects toggle
index.html— game entrystyle.css— styles and loadergame.js— main game logicplayables.js— YouTube Playables SDK adapter bridge
If YouTube provides an official SDK script tag, paste it inside index.html where marked.
The playables.js adapter attempts to detect common SDK globals and connect:
- pause
- resume
- restart
- game ready
- game start
- game over
- score reporting
Open index.html in a browser.
Or run a local server:
python -m http.server 8080