GitHub Snake is a Browser Extension that lets you play Snake on your GitHub Contribution Graph.
Get this now for Firefox from the Mozilla Extension Marketplace
Also check out GitHub Tetris!
The rules of the game are pretty much identical to old-school Snake. Navigate across the board, eat food to grow larger, and avoid hitting walls or your own body. Every once in a while, a high value food will spawn for a limited time that will boost your growth by 5 units once eaten.
Action | Key |
---|---|
Turn North | W |
Turn South | S |
Turn East | D |
Turn West | A |
To start a new game, simply refresh the browser page and rerun the extension.
- Download the latest zip from releases and unpack.
- Open Firefox and go to
about:debugging#/runtime/this-firefox
- Click on
Load Temporary Add-On
- Select the
manifest.json
that is included in the downloaded folder - Open a GitHub profile tab and activate the extension
Chrome Web Store demands that I pay them 5$ to publish my add-on. Hell no.
With that said, here is how to build it yourself:
- Download the latest zip from releases and unpack.
- Open your Chromium web browser and click on
Extensions
tab - Enable
Developer Mode
- Click on
Load Unpacked
- Select the folder
GitHub-Snake-Chromium
you unpacked - Open a GitHub profile tab and activate the extension
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request