terminal_snake 2.0.1 copy "terminal_snake: ^2.0.1" to clipboard
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 #

  1. Make sure you have Dart installed on your system
  2. Install the package globally:
   dart pub global activate terminal_snake
  1. Run the game from anywhere:
   terminal_snake

Local Development #

  1. Clone or download this repository
  2. Navigate to the project directory
  3. Run the game:
    dart run bin/terminal_snake.dart
    

Controls #

  • w - Move up
  • s - Move down
  • a - Move left
  • d - Move right
  • p - Pause/Resume
  • space - Boost toggle
  • q - 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
0
likes
0
points
4
downloads

Publisher

verified publisheranotherit.company

Weekly Downloads

A terminal-based Snake game written in Dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args

More

Packages that depend on terminal_snake