Technologies | Project | Installation | License
This project was built using following technologies:
Tetris is a video game developed in the Soviet Union in 1984. The game has a simple goal of destroying lines of block before it reaches the top. The line is made up of a square block. Tetrominoes is the shape of the 4 connected blocks that falls vertically down. The player will have to use the tetrominos to create lines that fill the box horizontally, this will clear the lines of blocks. The game continues, the lines of blocks that is not completely filled will drop down as many lines that were cleared. The game has levels of difficulties which rises as the game is being played. [Simple Wikipedia]
You must install Ncurses and OpenGL libraries using the following commands on your Terminal:
# Update packages (on Linux devices)
$ sudo apt update
# Install Ncurses library
$ sudo apt install libncurses-dev
# Install OpenGL library and its dependencies
$ sudo apt install libglu1-mesa-dev freeglut3-dev mesa-common-dev
Execute the following commands to compile the code and run the game on your Terminal:
# Compile the source code
$ make
# Run the game on your terminal
$ make start
# Run it if you want to clean binary files
$ make clean
This project is under MIT License. Check out LICENSE file to more details.
Built with