Skip to content

TexablePlum/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Tetris Clone ๐ŸŽฎ

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.

Overview โœจ

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.

Technologies Used ๐Ÿ› ๏ธ

  • 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.

Getting Started ๐Ÿš€

Prerequisites

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/TexablePlum/Tetris.git`
  2. Open project file in your IDE.

  3. Restore all dependencies (ensure NuGet packages are restored).

  4. Build and run the project to start playing!

How to Play ๐ŸŽฏ

  • 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.

Screenshots ๐Ÿ“ธ

Basic Themes

Screenshot 3 Screenshot 4 Screenshot 1 Screenshot 5

Additional Themes

Screenshot 2 Screenshot 6 Screenshot 7 Screenshot 8 Screenshot 9 Screenshot 10 Screenshot 11

Main Screen Screenshot

Main Screen Screenshot

Tutorial Screenshots

Tutorial Screenshot 2 Tutorial Screenshot 3 Tutorial Screenshot 4 Tutorial Screenshot 5

Contributing ๐Ÿค

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.

Future Enhancements ๐Ÿ”ฎ

  • 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.

License ๐Ÿ“„

This project is licensed under the MIT License. See the LICENSE file for details.

Happy Tetrising! ๐ŸŽ‰

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages