This is my final project on the "Introduction to Computer Programming" course and I build up this Tetris game by using the SDL library (the tutorial can be find here).
The demo video can be found here.
Source code
- main.cpp
- block.h/block.cpp: the main part of this project
- timer.h/timer.cpp: counting the time
Other
- sound/*: backgroud sounds
- menu/*: figure for menu
- image/*: figure for the game
- *.dll: SDL dynamic libraries
- copyright.txt: specification of image and video sources
- Programming project.exe: execution file after compilation