GitHub Tetris is a Browser Extension that lets you play Tetris on your GitHub Contribution Graph.
Get this now for Firefox from the Mozilla Extension Marketplace
Also check out GitHub Snake!
Standard Tetris rules apply. The game automatically checks for full columns, clears them, and shifts the remaining blocks to the left. The player can also trigger an instant left drop of the tetromino. A loss is determined when there is no more space to spawn more tetrominoes.
Action | Key |
---|---|
Move up | W or ↑ |
Move down | S or ↓ |
Rotate Clockwise | D or → |
Rotate Counterclockwise | A or ← |
Instant Drop | Space or Enter |
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-Tetris-Chromium
you just 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