Skip to content

bryan7231/CSFMLBlockBlast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake SFML Block Blast recreation

Block Blast coded in C++ and SFML (+OpenGL), as simple as that. This project was pretty interesting to work on, and had a lot of nuance to it that I initally did not expect, such as centering the blocks and adding a system to make sure only one block is grabbed at at time. Overall, it was a really enjoyable project and I would encourage others to try as well! It uses some pretty interesting matrix techniques, as well as a simple shader for Gaussian blur on the game over screen. The score is calculated exponentially based on number of rows cleared, as well as given multiplicative increases if both rows and columns are completed. The game is pretty unbalanced as the random rotations makes it pretty hard to get a good score.

image

image

image

How to Use

Clone the repo, either build and run through cmake, or just run the executable that should be in the folder. It probably only works on Windows, sorry Mac and Linux people. Left click to drag and drop blocks, space to restart if you lose.

More Reading

Here are some useful resources if you want to learn more about CMake:

Documation to SFML:

License

The source code is dual licensed under Public Domain and MIT

About

Block Blast clone made in C++ SFML.

Resources

License

Stars

Watchers

Forks

Packages

No packages published