Welcome to Tetris Clone โ a fully functional Tetris game built using C# and the MonoGame/XNA framework. This open-source project recreates the classic Tetris gameplay with modern UI elements, customizable themes, and engaging sound effects.
Tetris Clone brings back the nostalgia of the original Tetris with:
- Classic Gameplay: Drop, move, and rotate Tetromino shapes to clear full lines.
- Complete Feature Set: All standard Tetromino shapes (I, O, S, Z, L, J, T) with smooth rotation and collision detection.
- Dynamic UI Panels: Interactive panels for score, level, next shape preview, and line count, each with animated effects.
- Tutorial Mode: A guided tutorial that introduces new players to game controls and UI components.
- Sound & Music: Realistic sound effects for moves, rotations, line clears, and game events, plus background music.
- Custom Themes & Settings: Multiple color themes available, with game settings saved via XML.
- C# & .NET: Robust, object-oriented development.
- MonoGame/XNA Framework: For rendering graphics, handling input, and managing assets.
- XML Serialization: For persisting game settings.
- Git & GitHub: Version control and collaboration.
- MonoGame/XNA Framework: Ensure you have the latest version installed.
- .NET Environment: Compatible .NET runtime for running C# applications.
- IDE: Visual Studio or any preferred C# IDE.
-
Clone the repository:
git clone https://github.com/TexablePlum/Tetris.git`
-
Open project file in your IDE.
-
Restore all dependencies (ensure NuGet packages are restored).
-
Build and run the project to start playing!
-
Controls:
- Left/Right Arrow: Move Tetromino left or right.
- Up Arrow: Rotate the Tetromino.
- Down Arrow: Soft drop.
- Spacebar: Hard drop.
-
Objective:
Clear complete lines, earn points, and beat your best score while advancing levels.
Contributions are welcome! If you have suggestions, bug fixes, or new features to add, feel free to fork the repository and submit a pull request. Please ensure you follow the existing coding standards and add documentation as necessary.
- Enhanced Graphics & Animations: Further improvements to UI and in-game animations.
- New Game Modes: Introducing advanced game modes and difficulty levels.
- Multiplayer Support: Potential support for competitive gameplay.
- More Customizations: Additional themes, sound effects, and configurable settings.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy Tetrising! ๐