Skip to content

chrischristakis/BlocksGL

Repository files navigation

BlocksGL

A Tetris clone using OpenGL'


Usage:

Navigate to the releases section and download blocksgl.zip. Unzip it, then run the jar. If the jar doesn't run by clicking on it, run it in console by navigating to the same directory the jar is in and typing "java -jar blocksgl.jar". Make sure you unzip the file first before running the jar, otherwise the resources will not load.


Features

  • A Batch rendering system
  • Fully functional classic Tetris
  • Rotations implemented adhering to the Symmetric Rotation System
  • Wall kicks
  • T-Spin
  • Increased falling shape velocity as score increases
  • A visual block queue
  • (TO ADD) An in-game score representation
  • (TO ADD) Menus with adjustable parameters for in-game features

Notes:

  • There is no text in this game yet, so the score is displayed at the top of the screen where the title bar should be. I will wait until I make my OpenGL text renderer library before adding text such as score and a proper game over instead of the program shutting down when you lose.

Controls:

  • W: Rotate
  • S: Increase downwards velocity on the shape
  • A: Move left
  • D: Move right
  • M: Quad mode (purely aesthetic, see the demoIimg.PNG)