terminal_snake 2.0.7
terminal_snake: ^2.0.7 copied to clipboard
A terminal-based Snake game written in Dart
Terminal Snake Game #
A terminal-based Snake game written in Dart.
Demo:
Loose.
Win.
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
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