Skip to content

Tetris app for Android with extra features such as sound, dark mode, and piece power up!

Notifications You must be signed in to change notification settings

armandsarkani/Tetris

Repository files navigation

Tetris

Tetris A simple block game for Android.

Functionalities

  • Puzzle pieces fall from the top of the screen.
  • The player can move the puzzle piece one square to the left or right.
  • The player can rotate the piece by 90 degrees.
    • Rotates as long as the newly rotated piece doesn't intercept other blocks.
  • The player can accelerate the fall by pressing the down arrow.
    • Pushing the down button accelerates the piece downward and doesn't make it fall instantly.
  • The piece stops when it hits another piece.
  • If an entire horizontal line is full of blocks, it disappears.
  • Keeps a running score.
  • Shows the next piece to fall.
  • Runs on emulator Android 9.0 (Pie) - API Level 28.
  • "New Game" button
  • Alert when the game is over, with buttons for the user to restart the game or exit the app
  • Dynamic compatibility with many different screen sizes/resolutions due to variable size of Tetris grid based on device resolution. Tested and works best with Pixel 3 XL and Pixel 2 XL.
  • Support for multi-touch swiping gestures (instead of buttons) to move pieces left, right, down (accelerate), or rotate pieces (up). Rejects swipes that would place the piece outside of the safe zone for the grid.
  • Special "score booster" Easter egg :)
  • "High score" feature that saves highest score locally into the phone's storage
  • Plays official Tetris theme song* (with mute button that saves preferences)
  • Dark mode that turns entire user interface black (saves preferences for future launches)!
  • Ability for user to change the current tetromino (to another random one) while it is still falling

"Tetris" and its theme song are a registered trademark of The Tetris Company, LLC.

About

Tetris app for Android with extra features such as sound, dark mode, and piece power up!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages