Skip to content

brandonp2412/BlockDrop

Repository files navigation

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)

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

  1. Clone the repository:

    git clone https://github.com/brandonp2412/BlockDrop block_drop
    cd block_drop
  2. Install dependencies:

    flutter pub get
  3. 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    # Linux

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