play snake when your internet dies with this extension, planning to add more games!
ever lost your internet connection and wished you had something to do? that’s what snakension is for. it’s a browser extension that gives you the classic snake game right in your browser, and it automatically notifies you to play when you go offline.
what it does
snakension is straightforward. it sits in your browser extensions and lets you play snake whenever you want. the neat part is that it detects when you lose your internet connection and sends you a notification suggesting you play the game while you wait for your connection to come back.
the extension saves your high score locally, so you can keep track of your best performance. the game itself is clean and responsive with smooth controls.
how to install it
since this isn’t on the chrome web store yet, you’ll need to install it manually. here’s how:
- download the zip file from the latest release
- unzip the file somewhere on your computer
- open your browser’s extensions page:
- chrome:
chrome://extensions/ - edge:
edge://extensions/ - brave:
brave://extensions/
- chrome:
- enable developer mode (usually a toggle in the top right)
- click “load unpacked”
- select the unzipped snakension folder
that’s it. the extension will now appear in your toolbar.
features
- offline detection that sends notifications when you lose internet
- saves your high score
- responsive controls for smooth gameplay
- clean, simple interface
- works on chrome, edge, and brave
the tech
it’s built with vanilla javascript, html, and css. no frameworks, no dependencies. the game logic is classic snake – you move around collecting food, growing longer, and trying not to crash into yourself or the walls.
the background script handles the offline detection by listening to the browser’s connection status. when it detects you’ve gone offline, it triggers a notification that opens the game.
open source
the whole thing is open source under the mit license. you can check out the code, fork it, modify it, or contribute on github.
if you’re interested in building browser extensions or just want a simple game to play when your internet drops, give it a try.

