Search packages, repositories and app categories

GitHub repositorymrgnhnt96/snake

Snake

Classic Snake recreated for the command line

Snake project cover
Stars
6
Forks
0
Last push (UTC)
Dec 23, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

🐍 Snake

A classic Snake game for the terminal, built with Dart and nocterm.

  ░██████                         ░██
 ░██   ░██                        ░██
░██         ░████████   ░██████   ░██    ░██ ░███████
 ░████████  ░██    ░██       ░██  ░██   ░██ ░██    ░██
        ░██ ░██    ░██  ░███████  ░███████  ░█████████
 ░██   ░██  ░██    ░██ ░██   ░██  ░██   ░██ ░██
  ░██████   ░██    ░██  ░█████░██ ░██    ░██ ░███████

Menu Game Game Over

Getting Started

Prerequisites
  • Dart SDK >=3.9.0 <4.0.0
Run the Game
dart run

How to Play

  1. Select a difficulty using the arrow keys and press Enter
  2. Control the snake with the arrow keys:
    • ↑ Move up
    • ↓ Move down
    • ← Move left
    • → Move right
  3. Eat the food to grow and score points
  4. Avoid running into yourself!

Difficulty Levels

Difficulty Grid Size Speed
Easy 10×10 Slow
Medium 15×15 Medium
Hard 20×20 Fast
Morgan Hunt GitHub avatar
GitHub author

Morgan Hunt ↗

Flutter, Fluttering, Fluttered Blue heart · Avid coder Man technologist · Biggest freaking Legend of Zelda fan 🗡

Mesa, AZ USA
LanguagesDart

Flutter dependencies

Dependencies used

Dependency list 5 items

App categories

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗