Skip to content

gamedevnull/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris in C++ and SFML

This is my first C++ project in around 10 years. My goal was to refresh some basic C++ skills by developing a simple game. I wanted to create a complete gaming experience rather than just bare gameplay, so I chose Tetris. Fun fact: despite spending countless hours playing Tetris in my childhood, I had never come across SRS logic before. I haven't fully implemented that system because I found some of its rules, such as the upward movement of tetrominos, awkward. In the end, the outcome is quite good as the game is fully playable, and the clearing lines effect is very satisfying, encouraging players to continue and strive for highscores.

Demo: https://www.youtube.com/watch?v=hvzmkAFCNDk

Gameplay demo

Features

  • Increasing difficulty
  • Highscores
  • Wall kicks
  • Cool clearing lines effect
  • Preview of the next tetromino
  • Current mino's shadow (landing position)
  • States: playing, pause, game over
  • Random spawning positions and colors

About

Tetris in C++ and SFML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published