Operand
Bounce the bubbles and build the target number
Mental arithmetic with physics: bubbles numbered 1 to 9 bounce like billiard balls, swap a unit when they collide and stick to the central operator. Pick +, −, × or ÷ to build bricks until you reach the target, in as few operations as possible. Around that idea come four ways to launch bubbles, a tutorial guided by an animated finger, presets from chick to alien, a Chain mode and 40 achievements that earn π to unlock ten more themes. The game is in French and English and can be installed to play offline.
What shines
- Billiard physics: bubble size and mass depend on their value, and each collision swaps +1/−1 without ever giving back the same pair
- 11 complete themes, each with its own fonts and scenery: Neon, Chalkboard, Japanese print (wave and Mount Fuji), 8-bit Arcade, Candy, Bauhaus, Billiards, a seasonal Halloween…
- A small economy: achievements earn π, golden coins fly into the wallet, and themes can be bought after a preview
- Four game mechanics (BLOW, FIREWORK, TARGET, AUTO), an expert mode and a "shake to calculate" option
- Help+: new bubbles are chosen to bring the solution closer, designed with children in mind
How to use it
Tap a bubble (AUTO mode) or fling it (TARGET) toward the operator, tap the operator to change the operation, and long-press or use the = button to build the brick
Made with
- HTML
- CSS
- JavaScript vanilla (fichier unique, environ 5900 lignes)
- Canvas 2D
- Web Audio API
- DeviceMotion (secouer le téléphone pour calculer)
- PWA (manifest + service worker, hors ligne)
- localStorage (réglages, high scores, succès, π)
- Google Fonts (Tektur, Chakra Petch et une quinzaine d'autres selon l'ambiance)
- Python (script qui génère une version Scratch 3, scratch/AddGame.sb3)