A retro-style arcade game where you bounce a ball inside a rotating polygon.
Go to your repository's Settings → Secrets and variables → Actions, and add:
JSONBIN_BIN_ID: Your JSONBin.io bin IDJSONBIN_API_KEY: Your JSONBin.io API key
- Go to Settings → Pages
- Source: Deploy from a branch
- Branch: Select
gh-pages(will be created by the workflow)
Push to the main branch. The GitHub Action will automatically:
- Replace the placeholder credentials with your secrets
- Build and deploy to GitHub Pages
- Your secrets remain secure and are never exposed
For local development with real credentials:
- Create a copy of
game.jsaslocal-game.js - Replace the placeholder values with your actual JSONBin credentials in
local-game.js - Update
index.htmlto uselocal-game.jsinstead ofgame.js - Run a local server:
python -m http.server 8000
Important: Never commit local-game.js - it's in .gitignore
- Use Arrow Keys or A/D to rotate the polygon
- Hit all non-explosive sides to advance levels
- Avoid red explosive sides
- Collect lives and score points!
- 20 progressively challenging levels
- Global leaderboard (requires JSONBin setup)
- Retro 8-bit graphics
- Soothing background music
- Particle effects
- Space-themed background with animated elements