Skip to content

Reactris: A classic Tetris game built with React and TypeScript. Start stacking blocks and challenge yourself in this modern take on a timeless puzzle game!

License

Notifications You must be signed in to change notification settings

devkumar326/Reactris

Repository files navigation

Reactris 🎮

License: MIT

Reactris is a modern, browser-based implementation of the classic Tetris game. Built with React and TypeScript, this project combines clean code with a sleek design to deliver a fun and engaging gaming experience.


🚀 Features

  • Classic Tetris gameplay: Stack blocks, clear lines, and aim for a high score.
  • Responsive design: Play on desktop, tablet, or mobile.
  • Upcoming blocks preview: See the next blocks to plan your moves.
  • High score tracking: Compete with yourself to beat your best score.

🛠️ Technologies Used

  • React: For building the user interface and managing game state.
  • TypeScript: For type safety and better developer experience.
  • Vite: For fast development and bundling.

📦 Installation

To run Reactris locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/your-username/reactris.git
  2. Navigate to the project directory:
    cd reactris
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev
  5. Open your browser and visit http://localhost:5173 to play the game!

🎮 How to Play

  • Move Left: Arrow Left

  • Move Right: Arrow Right

  • Rotate: Arrow Up

  • Soft Drop: Arrow Down

🛣️ Roadmap

Here are some features planned for future versions:

  • Multiplayer mode

  • Power-ups and special blocks

  • Custom themes and block skins

  • Leaderboard and achievements

  • Mobile touch controls

  • Smooth animations for line clears and game-over effects

  • Customizable controls

🤝 Contributing

Contributions are welcome! If you'd like to contribute to Reactris, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature or bugfix.

  3. Commit your changes.

  4. Push your branch and open a pull request.

📄 License

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

🙏 Acknowledgments

Inspired by the classic Tetris game.

Built with love using React, and TypeScript.

Enjoy playing Reactris! If you have any feedback or suggestions, feel free to open an issue or reach out. Happy coding! 🎉


About

Reactris: A classic Tetris game built with React and TypeScript. Start stacking blocks and challenge yourself in this modern take on a timeless puzzle game!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published