terminal_snake 2.0.1
terminal_snake: ^2.0.1 copied to clipboard
A terminal-based Snake game written in Dart
Terminal Snake Game #
A terminal-based Snake game written in Dart.
Installation #
Global Installation (Recommended) #
- Make sure you have Dart installed on your system
- Install the package globally:
dart pub global activate terminal_snake
- Run the game from anywhere:
terminal_snake
Local Development #
- Clone or download this repository
- Navigate to the project directory
- Run the game:
dart run bin/terminal_snake.dart
Controls #
w- Move ups- Move downa- Move leftd- Move rightp- Pause/Resumespace- Boost toggleq- Quit
Features #
- Classic Snake gameplay
- Terminal-based graphics using ANSI escape codes
- Food collection and snake growth
- Collision detection with walls and self
- Pause functionality
- Move queue implemented
- Score tracking