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!