terminal_snake 2.0.7 copy "terminal_snake: ^2.0.7" to clipboard
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. Terminal Snake Demo fail Win. Terminal Snake Demo win

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
    

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
120
points
376
downloads

Publisher

verified publisheranotherit.company

Weekly Downloads

A terminal-based Snake game written in Dart

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args

More

Packages that depend on terminal_snake