🎮 Pixel Art Snake Game with TypeScript

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

🌟 Features

  • 🐍 Engaging Classic Snake gameplay.
  • 🎲 Random starting direction – just hit Space.
  • 🎨 Beautiful Pixel art aesthetics.
  • 🏆 Score tracking - beat your own high score!

🎮 How to Play

  1. 🏁 Start by using the arrow keys to steer the snake.
  2. 🍔 Consume the turquoise treats and watch your snake grow.
  3. ❌ Stay away from the canvas boundaries and don't bite yourself.
  4. 🔀 Want a surprise? Press Space to begin with a random direction.
  5. 📊 Keep an eye on the top-left corner, that's where your score is displayed.

🔧 Setup & Running the Game

Want to see the source or tweak the game? Dive into the code!

Clone this Repo or edit directly on StackBlitz!

🔗 Edit on StackBlitz ⚡️