Skip to content

The game Tetris with the help of c++ and openGl.

Notifications You must be signed in to change notification settings

MrHavoc97/Tetris

Repository files navigation

Tetris

The game Tetris with the help of c++ and openGl.

Instructions

  • Make sure OpenGL is installed
  • The game can be run by executing Tetris Final.cbp
  • You can also run from terminal using
    • g++ main.cpp -lglut -lGL -lGLU
    • ./a.out

How to play?

*image

  • The next tetromino will be visible on 'Next Window'.
  • Score will be visible on the 'Score Window'.
  • The main game will be played on the 'Game Window'.
  • Use arrow keys to control where current tetromino will fall.
  • The tetrominos can be rotated by up and down arrow keys.
  • The speed of the falling tetromino can be controlled by '+' and '-' keys.

Video Instructions

About

The game Tetris with the help of c++ and openGl.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published