Skip to content

TreacherousDev/GitHub-Snake

Repository files navigation

GitHub-Snake

12051-ezgif com-video-to-gif-converter
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!

How to Play

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.

Controls:

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.


Building from Source

For Firefox

  1. Download the latest zip from releases and unpack.
  2. Open Firefox and go to about:debugging#/runtime/this-firefox
  3. Click on Load Temporary Add-On
  4. Select the manifest.json that is included in the downloaded folder
  5. Open a GitHub profile tab and activate the extension

For Chromium

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:

  1. Download the latest zip from releases and unpack.
  2. Open your Chromium web browser and click on Extensions tab
  3. Enable Developer Mode
  4. Click on Load Unpacked
  5. Select the folder GitHub-Snake-Chromium you unpacked
  6. Open a GitHub profile tab and activate the extension

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request