Skip to content

Tetris game developed using C++ and openGL

License

Notifications You must be signed in to change notification settings

ThiagoPereiraUFV/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris v1.0

🔨 Thiago Marinho Pereira

GitHub language count Repository size GitHub last commit License

Technologies   |    Project   |    Installation   |    License


Tetris

🚀 Technologies

This project was built using following technologies:

💻 Project

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]

🔧 Installation

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

📝 License

This project is under MIT License. Check out LICENSE file to more details.


Built with ♥️ by Thiago Pereira