A modern falling-block puzzle game built with Flutter. Drop, rotate, and clear lines in this classic puzzle game.
- Classic falling-block 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)
Every GitHub release includes an unsigned iPhone device IPA (`block_drop_ios__unsigned.ipa`), built on a macOS runner for arm64. It cannot be installed directly: sign the IPA with your own Apple development/distribution credentials and an appropriate provisioning profile, or use a sideloading service that performs signing. No Apple account or certificate is stored by this project. This is not an App Store/TestFlight build.
The release pipeline also independently rebuilds unsigned Android APKs for all three ABIs using F-Droid-style build flags. It checks them against the developer-signed APKs with `apksigcopier` before creating a Git tag or publishing a release. A failed platform build or reproducibility check leaves no new release tag for F-Droid's tag-based update checker to ingest.
See the full screenshot gallery for phone, 7-inch tablet, 10-inch tablet, and desktop captures.
- 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
-
Clone the repository:
git clone https://github.com/brandonp2412/BlockDrop cd BlockDrop -
Install dependencies:
flutter pub get
-
Run the app:
flutter run
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the classic falling-block puzzle game
- Built with Flutter framework
- Icons and assets created specifically for Block Drop
In the browser, open Settings → Play online → Host online game and share the invitation link. The host accepts the guest and starts the match. The Cloudflare Worker only exchanges WebRTC connection details. Boards, scores, and game events travel over the encrypted peer data channel.
In installed apps, Settings → Play on LAN supports direct IP, QR invites, and nearby discovery. Android also has a Wi-Fi Direct fallback. LAN play works without the signalling Worker.
Run the signalling Worker locally and serve a Flutter web build:
npx wrangler dev --port 8787 flutter build web --dart-define=BLOCKDROP_SIGNAL_URL=ws://127.0.0.1:8787 python -m http.server 8080 --bind 127.0.0.1 --directory build/web
With Google Chrome and Python Playwright installed, run:
python tool/chrome_multiplayer_smoke.py http://127.0.0.1:8080/ --artifacts /tmp/blockdrop-proof
The default web build targets the BlockDrop Cloudflare Worker. Set
BLOCKDROP_SIGNAL_URL to use another deployment. A TURN credential broker
can be supplied with BLOCKDROP_TURN_URL. It must provide short-lived
credentials in an iceServers array. Without a broker, WebRTC uses direct
ICE candidates and STUN.







