Dive into the nostalgia of classic games with this pixel-art inspired Snake game. Crafted meticulously with TypeScript and HTML canvas, this game offers a blend of the classic gameplay you love with modern coding practices.
🕹️ Try it out: Play Snake Game
- 🐍 Engaging Classic Snake gameplay.
- 🎲 Random starting direction – just hit
Space
. - 🎨 Beautiful Pixel art aesthetics.
- 🏆 Score tracking - beat your own high score!
- 🏁 Start by using the arrow keys to steer the snake.
- 🍔 Consume the turquoise treats and watch your snake grow.
- ❌ Stay away from the canvas boundaries and don't bite yourself.
- 🔀 Want a surprise? Press
Space
to begin with a random direction. - 📊 Keep an eye on the top-left corner, that's where your score is displayed.
Want to see the source or tweak the game? Dive into the code!
Clone this Repo or edit directly on StackBlitz!