FLUTTER ECOSYSTEM

mrgnhnt96/snake

クラシックなスネークをコマンドライン用に再作成

スネーク のプロジェクト画像
Stars
5
Forks
0
最終プッシュ(UTC)
2025/12/23
プロジェクト状態
公開中
Morgan Hunt GitHub avatar
GITHUB User

Morgan Hunt ↗

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

Mesa, AZ USA
言語Dart

関連パッケージとサンプル

使用している依存関係

依存関係一覧 5 件
  • file^7.0.1
  • nocterm0.1.0
  • scoped_deps^0.1.0+2
  • nocterm_provider
  • nocterm_cli開発用

アプリカテゴリー

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

🐍 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