Skip to content

catdesu/tetris-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Clone

Welcome to my Tetris clone project! This is a simple implementation of the classic Tetris game built using HTML, CSS, and JavaScript. The game features intuitive touchscreen controls for easy playability on mobile devices.

Demo

You can play the game live here.

Features

  • Classic Tetris gameplay with intuitive touchscreen controls.
  • Responsive design for seamless gameplay on mobile devices.
  • Pause feature allows players to pause and resume the game at any time.
  • Endless mode: Keep playing until the game board fills up.
  • Simple and lightweight implementation using vanilla JavaScript.

Getting Started

To run the game locally on your machine, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/catdesu/tetris-clone.git
  2. Open the index.html file in your web browser.

  3. Enjoy playing Tetris!

Controls

  • Left/Right Swipe: Move the tetromino left or right.
  • Up Swipe: Rotate the tetromino clockwise.
  • Down Swipe: Accelerate the downward movement of the tetromino.
  • Pause Button: Click the pause button to pause/resume the game.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

  • The Tetris game concept was created by Alexey Pajitnov in 1984.

About

A tetris clone game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors