DEV Community

anatcha
anatcha

Posted on

Turning Your GitHub Contributions into a Space Invaders Game

I built a small side project called GitInvaders.

πŸ‘‰ https://www.gitinvaders.com/

It started with a random thought:
What if my GitHub contributions weren’t just a graph, but something interactive?

Something... I could play with.


The Idea

Instead of looking at contribution charts, I wanted to turn them into a game.

So I made a Space Invaders-style web game where:

  • Your contributions become enemies
  • You control a spaceship
  • And you literally shoot your own commits

It sounds unnecessary. It is unnecessary. But it's fun.


Demo

Here’s a quick look at the game:


How It Works

  • Log in with GitHub and the game pulls your real contribution data
  • Each contribution block becomes an enemy
  • More commits means more enemies on screen

No GitHub account?
You can still play using Google login.


Why I Built This

This project wasn’t about solving a big problem.

I just wanted to build something:

  • small
  • weird
  • and enjoyable

Along the way, I got to play with:

  • OAuth (GitHub and Google)
  • Turning real data into game mechanics
  • Building a simple browser game

Try It

You can play it here:
πŸ‘‰ https://www.gitinvaders.com/

No install needed. Just open and play.


Final Thoughts

Sometimes not everything has to be useful.

Sometimes it’s just about building something fun and seeing it come to life.

And honestly, shooting your own contributions is way more satisfying than staring at them.

Top comments (0)