Skip to content

ultraviolet-jordan/tetris

Repository files navigation

A Fast Tetris Game Written in Kotlin With Java OpenGL.

gameplay gameover

Controls

  • Arrow Key Left / Right -> Move the tetromino along the x-axis.
  • Arrow Key Up / Down -> Rotate the tetromino clockwise or counter-clockwise.
  • Space Bar -> Start a new game / Move the tetromino down along the y-axis.
  • ESC -> Pause the game.

Features

  • Collision.
  • Movement / rotating.
  • Score counter.
  • FPS counter.
  • Resolution scaling.
  • Runtime game loop time measurement.