A tetromino-based gravity puzzle game! Cetris is programmed entirely in C++ using SFML for graphical and audio rendering. Boasting seven different unique tetrominos, Cetris challenges your spatial skills and quick-thinking. Use WASD for translation, Q/E for rotation, and SPACE for hard drops. The game level increases after more and more lines are cleared, increasing the speed of gravity but also the points earned. How high can you score?
To get a local copy up and running follow these simple example steps.
wsl --install
Cetris was built using WSL (Ubuntu 22.04.2 LTS on Windows 10 x86_64). Your version may
differ slightly, but should likely work so long as you have the apt-get
package manager.
git clone https://github.com/JacobNickerson/cetris.git
sudo apt-get update
sudo apt-get install libsfml-dev && sudo apt-get install make
sudo apt-get install build-essential
`make`
This should be sufficient. Most of the build process is automated in the Makefile.
Use WASD for translation; Q/E for rotation; Space for hard drops; ESC to pause
Clear lines by filling every space in a row. Score increases by clearing lines; clearing more lines in a single move will give increasingly more points.
Level progresses by clearing lines, as level increases, the speed of tetromino automatic falling increases. Clearing lines will grant more points at higher levels.
The next window showcases the next tetromino that will appear.
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the GPL-3.0 License. See LICENSE
for more information.
Jacob Nickerson - jacobnickerson817@gmail.com
Project Link: https://github.com/JacobNickerson/cetris