=========================================== ๐ SNAKE CLI โ HOW TO PLAY
Welcome to the Snake CLI Game! ๐ฎ
Play Snake directly in your terminal using only your keyboard.
โ๏ธ 1. INSTALLATION
First install this package globally:
dart pub global activate snake_cli
After installation, run:
snake
Done! ๐ The game will start immediately.
โถ๏ธ 2. STARTING THE GAME
Just type:
snake
You will see the game board and the snake head ๐.
๐น๏ธ 3. GAME CONTROLS
Control your snake using:
W or โ move UP
S or โ move DOWN
A or โ move LEFT
D or โ move RIGHT
๐ 4. GAME RULES
โ Eat the apples (๐) to grow
โ Avoid hitting:
- walls
- your own body โ If you hit something โ โ GAME OVER
๐ฏ 5. OBJECTIVE
Grow the snake as long as possible ๐
Your score = snake length - 1
๐ 6. EXIT THE GAME
Press:
Ctrl + C
Anytime to quit the game โ
๐ก TIPS
โจ Use small movements
โจ Donโt trap yourself in corners
โจ Plan 2 moves ahead
๐ฅ 7. TERMINAL REQUIREMENTS
Works on: โ Linux โ macOS โ Windows Terminal
๐ BONUS FEATURES
โ Arrow keys supported
โ WASD supported
โ Fast gameplay
โ Smooth controls
๐งโ๐ป EXAMPLE SESSION
Run:
snake
Move around and eat apples:
๐ ๐ฉ ๐ฉ ๐ฉ ๐
Score increases automatically.
โค๏ธ HAVE FUN!
If you enjoy this game, share it or update it: GitHub: Name : Prajapati Nikul