Turning Your GitHub Contributions into a Space Invaders Game
Source: Dev.to
Overview
I built a small side project called GitInvaders – a Space Invaders‑style web game that turns your GitHub contributions into enemies.
How It Works
- Log in with GitHub. The game pulls your real contribution data.
- Each contribution block becomes an enemy ship.
- More commits → more enemies on screen.
You control a spaceship and literally shoot your own commits.
Features
- No installation required – just open the site and play.
- Works with OAuth (GitHub and Google).
- Turns real data into game mechanics.
- Simple browser‑based implementation.
Tech Stack
- OAuth for authentication (GitHub, Google)
- Browser‑based game logic (HTML5 Canvas / JavaScript)
- Real‑time data fetching from the GitHub API
Play It
Visit the site, log in with your GitHub account, and start shooting your contribution blocks.
Conclusion
Sometimes a project doesn’t need to solve a big problem; it just needs to be fun. Shooting your own contributions can be surprisingly satisfying, offering a playful alternative to staring at static contribution charts.