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