搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫mrgnhnt96/snake

蛇

經典貪吃蛇重現於命令列

蛇 專案封面
星標
6
分支
0
最近推送(UTC)
2025年12月23日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

🐍 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 作者

Morgan Hunt ↗

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

Mesa, AZ USA
語言Dart

依賴 Flutter 元件

使用的依賴

依賴清單 5 項

App 分類

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

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

GitHub Docs — About repositories ↗