I've rebuilt my snake game from the year 2001. The new game works on all modern browsers and even using gestures on mobile devices. Just swipe to move the snake in various directions.
My first ever snake game was running on a TI92plus calculator. It's still online after almost 20 years!
My goal was to rebuild it for modern browsers. It should match the retro design with a green monochrome background.
Thankfully, I did not have to recode all of the snake logic. I've forked the project from patorjk.
Some of the enhancements I did:
- 👋 Integrated Hammer.js to enable gestures
- ⚡️ GitHub actions: Every commit will be pushed to the live GitHub pages site.
- #️⃣ Introduced a custom font to make it really retro.
- 💅 Packaged tailwindcss to quickly design it.
- 🐍 Added a snakehead, to match my design from 2001.