Result of following the Tetris C++ Game Tutorial with minor changes such as:
- game play gets faster as the score increases,
- sounds are closer to original game,
- use of volume control to lower background music,
- background music stops playing at game over and restarts when game is restarted,
- changed the handling of reading keyboard when game over is detected,
- disabled the Raylib debug console when building the executable by adding "CFLAGS += -Wl,--subsystem,windows" in line 211 of Makefile.
- Install Raylib using the installer from Raylib website.
- Clone this repo and open using VS Code.
- Press F5 on the keyboard to compile and run the program.
Use the arrow keys:
- Left and right arrow keys to position the block horizontally,
- Down arrow key to hasten the block's falling speed,
- Up arrow key to rotate the block.
This project uses the Raylib C++ Starter Template for Visual Studio Code on Windows.