nocterm
एक फ्लटर-जैसा फ्रेमवर्क, जो तत्वों, राज्य प्रबंधन, एनीमेशन और अधिक के साथ धनी टर्मिनल उपयोगकर्ता इंटरफ़ेस बनाने के लिए है।
क्लासिक माइनस्वीपर को कमांड लाइन के लिए पुनर्निर्मित किया गया है
एक फ्लटर-जैसा फ्रेमवर्क, जो तत्वों, राज्य प्रबंधन, एनीमेशन और अधिक के साथ धनी टर्मिनल उपयोगकर्ता इंटरफ़ेस बनाने के लिए है।
Dart के लिए एक प्लगएबल, मॉकेबल फ़ाइल सिस्टम अबस्ट्रैक्शन। स्थानीय फ़ाइल सिस्टम एक्सेस के साथ-साथ मेमोरी में फ़ाइल सिस्टम, रिकॉर्ड-रिप्ले फ़ाइल सिस्टम और च्रूट फ़ाइल सिस्टम का समर्थन करता है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A classic Minesweeper game for the terminal, built with Dart and nocterm.
███╗ ███╗██╗███╗ ██╗███████╗███████╗
████╗ ████║██║████╗ ██║██╔════╝██╔════╝
██╔████╔██║██║██╔██╗ ██║█████╗ ███████╗
██║╚██╔╝██║██║██║╚██╗██║██╔══╝ ╚════██║
██║ ╚═╝ ██║██║██║ ╚████║███████╗███████║
╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝╚══════╝
Minesweeper
Minesweeper
Minesweeper
Minesweeper
## Features
Terminal-based UI with keyboard controls
Three difficulty levels:
| Difficulty | Grid Size | Mine Density |
|---|---|---|
| Easy | 9×9 | 12% |
| Medium | 16×16 | 24% |
| Hard | 24×24 | 36% |
Animated game over sequence
Flag system to mark suspected mines
>=3.9.0 <4.0.0dart pub get
dart run
| Key | Action |
|---|---|
| Arrow Keys | Move cursor |
| Space | Reveal cell |
| F | Flag/unflag cell |
| Enter | Confirm selection |
lib/
├── main.dart # Entry point
└── src/
├── app.dart # Root application component
├── models/ # Data models (Difficulty, Place, etc.)
├── provider/ # State management
└── screens/
├── intro/ # Difficulty selection screen
├── mine_sweeper/ # Main game screen
└── game_over/ # Game over screen