@fettstorch/snake
v1.0.2
Published
A simple terminal-based Snake game. Enjoy!
Downloads
32
Readme
Terminal Snake Game 🐍
A simple terminal-based Snake game. Enjoy!
Getting Started
npm i @fettstorch/snake -g
OR
npx @fettstorch/snake
How to Play
- Use ←↑↓→ or WASD to control the snake
- Eat flies (%) to grow
- Avoid hitting walls and yourself
Patch Notes (v1.0.0 🎉)
- Added a global leaderboard
- Added a sleep factor for vertical movement so that vertical/horizontal movement is roughly equal (not perfect due to the inability to actually read out a terminal's character/font aspect ratio)
- Added a score multiplier. The more flies are currently being swallowed the more points you get. This rewards ideal pathing.
- Added input buffering in order to make the controls more responsive. This should prevent losing very quickly executed inputs.