v0.6.0
nocterm
컴포넌트, 상태 관리, 애니메이션 등으로 풍부한 터미널 사용자 인터페이스를 구축하기 위한 플러터와 유사한 프레임워크입니다.
52좋아요 3.7만30일 다운로드150Pub 점수
AndroidiOSmacOSWindowsLinux
클래식 마인스위퍼를 명령줄용으로 재구성했습니다
컴포넌트, 상태 관리, 애니메이션 등으로 풍부한 터미널 사용자 인터페이스를 구축하기 위한 플러터와 유사한 프레임워크입니다.
Dart용 플러그인 가능하고 모킹 가능한 파일 시스템 추상화입니다. 로컬 파일 시스템 액세스뿐만 아니라 메모리 내 파일 시스템, 기록 재생 파일 시스템 및 chroot 파일 시스템을 지원합니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 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