Glass Smash Simulator is a browser-based stress-relief game built for HackaMind 2025, designed to align with the theme of Health & Well-being.
Smash virtual glass panes, earn rewards, and unlock power-ups — a fun way to reduce stress, improve focus, and stay engaged.
- Satisfying Glass Physics – custom-built shard simulation (
shatter.js) makes every smash unique. - Timing Challenge – a moving bar with a “Perfect Zone” keeps players focused and engaged.
- Rewards System – earn coins & crystals, stack streaks for bonus payouts.
- Power-Ups – coin doublers, gem doublers, perfect zone expansion, and more.
- Customization Store – unlock new ball skins and backgrounds with in-game currency.
- Economy & Exchange – trade coins ↔ crystals, choose your progression path.
- Health & Wellness Theme – designed as a quick digital stress reliever, turning focus into fun.
- Click the glass pane (or press Space) to throw a ball.
- Time your shot using the power bar — center = maximum power.
- Hit the 🔮 Perfect zone to earn crystals.
- Stack streaks for extra rewards.
- Spend coins & crystals in the Store to unlock skins, backgrounds, and power-ups.
Built with pure web technologies — no external frameworks:
- HTML5 Canvas – rendering glass panes, ball, shards.
- CSS3 – polished UI/animations (meter, HUD, store, modals).
- JavaScript – modular game logic:
main.js→ core game loop, ball physics, UI updatesshatter.js→ glass breaking simulationsfx.js→ custom sound effects (shattering combos)economy.js→ wallet & spending system (coins, crystals)store.js→ power-ups, ball skins, backgrounds, inventoryexchange.js→ trade coins ↔ crystalsstreaks.js→ rewards for consistent perfect throwspowerups_hud.js→ active boosts tracking
- Clone the repo:
git clone https://github.com/TheExpertCoder00/glass-smash-simulator.git cd glass-smash-simulator