SFML version of the tetris game
This Tetris sfml game project is created solely for educational purposes. It is intended to serve as a learning resource for understanding game development concepts and practicing programming skills.
- Classic Tetris gameplay with falling blocks that the player must rotate and position to create complete rows.
- Sound effects for rotation, block fixing, movement, and other actions, enhancing the gaming experience and providing auditory feedback to the player.
- Dynamic and engaging background that changes as the game progresses, providing visual interest and immersion.
- Background music that sets the mood and enhances the gameplay experience.
- Sound effects for various in-game actions, including block rotation, movement, and line completion.
- Resizable screen that adapts to different screen sizes, providing flexibility and ensuring optimal viewing and gameplay experience on various devices.
- Highscore feature to track and display the highest scores achieved by players.
- Highscores are stored externally in a .txt file, allowing players to persist their achievements across sessions.
- Developed using C++ and SFML, a simple and easy-to-use game development library.
- Utilizes external resources for background images, button icons, music, and sound effects to enrich the gameplay experience.
- Interactive buttons and icons for controlling gameplay, including options for starting, pausing, and restarting the game.
- Planned future updates may include optimization of the code.
This Tetris game project combines classic gameplay with modern features, creating an immersive and enjoyable gaming experience for players of all ages. Feel free to explore the source code and contribute to further enhancements!
- Open the template using "open with Code".
- From the Explorer Window of VS Code navigate to the src folder to view the code.
- Execute "make" command to generate the executable file
This project is provided under the following terms:
- Educational Use Only: The Tetris game and accompanying source code are created for personal educational purposes and are not intended for commercial distribution or use.
- Resource Credits: Some resources used in this project, such as code snippets or assets, may have been sourced from external websites. Every effort has been made to ensure proper attribution and compliance with the terms of use for these resources.
- Fair Use: Portions of this project may be derived from publicly available resources or tutorials. Where applicable, fair use principles have been adhered to, and efforts have been made to transform and adapt the material to suit the educational context of this project.
Icon (Tetris) - Tetris icons created by Freepik - Flaticon
This project is released under the MIT License. You are free to modify and distribute the code for educational purposes, subject to the terms outlined in the license file.