A Tetris game implemented using Object-Oriented Programming (OOP) principles in JavaScript.
This project is a Tetris game built with JavaScript, HTML, and CSS. It uses OOP principles to manage game components such as the game board, pieces, and sounds.
- Classic Tetris gameplay
- Sound effects
- High score tracking
- Responsive design
- Dark mode support
- Clone the repository:
git clone https://github.com/ByDarrow/Tetris-OOP.git
- Navigate to the project directory:
cd Tetris-OOP
Open in your web browser to start playing the game.
- Left Arrow: Move piece left
- Right Arrow: Move piece right
- Down Arrow: Soft drop
- Space: Hard drop
- Up Arrow: Rotate piece right
- Q: Rotate piece left
- ESC: End game
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.