块掉落
跨平台下落方块益智游戏,支持响应式控制、多种主题、分数追踪、暂存功能和方块预览。基于 Flutter 构建。
- 星标
- 88
- 复刻
- 12
- 最近推送(UTC)
- 2026年11月7日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Block Drop
A modern Tetris clone built with Flutter. Drop, rotate, and clear lines in this classic puzzle game.
Features
- Classic Tetris gameplay with all 7 tetromino pieces
- Smooth piece rotation and movement
- Line clearing with score tracking
- Hold piece functionality
- Next piece preview
- Responsive controls for mobile and desktop
- Cross-platform support (iOS, Android, Web, Windows, macOS, Linux)
Screenshots
Light theme




Dark theme





Black (AMOLED) theme





How to Play
- Move Left/Right: Use arrow keys or swipe gestures
- Rotate: Up arrow key or tap to rotate pieces
- Soft Drop: Down arrow key or swipe down
- Hard Drop: Space bar (desktop) or double tap (mobile)
- Hold Piece: Hold key or dedicated hold button
Getting Started
Prerequisites
Installation
-
Clone the repository:
git clone https://github.com/brandonp2412/BlockDrop block_drop cd block_drop -
Install dependencies:
flutter pub get -
Run the app:
flutter run
Building for Release
Android
flutter build apk --release
iOS
flutter build ios --release
Web
flutter build web --release
Desktop
flutter build windows --release # Windows
flutter build macos --release # macOS
flutter build linux --release
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Inspired by the classic Tetris game
- Built with Flutter framework
- Icons and assets created specifically for Block Drop
语言DartC++PythonCMakeKotlinShellPowerShellRubySwiftJavaCHTMLObjective-C
分类
使用的依赖
依赖清单 14 项
- flutter
{"sdk":"flutter"} - flutter_localizations
{"sdk":"flutter"} - talker_flutter
5.1.20 - cupertino_icons
^1.0.8 - shared_preferences
^2.3.0 - audioplayers
^6.0.0 - intl
^0.20.2 - url_launcher
^6.3.2 - flutter_test开发依赖
{"sdk":"flutter"} - integration_test开发依赖
{"sdk":"flutter"} - patrol开发依赖
^4.9.0 - flutter_lints开发依赖
^6.0.0 - flutter_launcher_icons开发依赖
^0.14.4 - mocktail开发依赖
^1.0.0
App 分类
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
