/JavaScript-Game-Tetris

This repository features a JavaScript implementation of the classic game Tetris. Built using HTML5, CSS, and JavaScript, it is both enjoyable and simple to use. The included source code can be used as a learning tool to understand game development using HTML5, CSS, and JavaScript. Have fun!

Primary LanguageJavaScriptMIT LicenseMIT

logo

Anna Petras for KING YESHUA - Kefi Unearthed


💜

Personal README Template


📗 Table of Contents


📖 JavaScript Game Tetris

JavaScript Game Tetris:

This repository features a JavaScript implementation of the classic game Tetris. Built using HTML5, CSS, and JavaScript, it is both enjoyable and simple to use. The included source code can be used as a learning tool to understand game development using HTML5, CSS, and JavaScript. Have fun!


🛠 Built With

HTML
CSS
Javascript

Project Demo Image


Project Demo Img


🚀 Live Demo

JavaScript Game Tetris

(back to top)

Default Controls:

Controls are configurable

  • Rotate Left: Z
  • Rotate Right: X
  • Rotate 180: Shift
  • Hold: C
  • Hard Drop: Space
  • Shift Left: Left Arrow
  • Shift Right: Right Arrow
  • Restart: R

Mechanics and Features

  • Tetris Guideline compliant
    • Random generator, first bag never spawns Z, S, or O piece first.
    • SRS
    • Hold
    • Piece preview
    • Ghost piece
  • Multiple block skins
  • Stack outline option
  • Configurable gravity
  • 60 FPS
  • DAS and DAS delay settings
  • Adaptable game size
  • Last game replay

(back to top)

💻 Getting Started

  • Create a local directory that you want to clone the repository.

  • Open the command prompt in the created directory.

  • On the terminal run this command git clone https://github.com/annaeliana7/JavaScript-Game-Tetris.git

  • Go to the repository folder using command prompt cd JavaScript-Game-Tetris

  • Install the dev dependencies for linters run npm install.

(back to top)

Prerequisites

In order to run this project you need:

-Any broswer

(back to top)

Setup

Clone this repository to your desired folder:

  • Open the command prompt in the created directory.

  • On the terminal run this command git clone https://github.com/annaeliana7/JavaScript-Game-Tetris.git

  • Go to the repository folder using command prompt cd JavaScript-Game-Tetris

  • Install the dev dependencies for linters run npm install. --->

(back to top)

👤 Author Anna Petras

(back to top)

🔭 Future Features

  • Implement some UX improvements

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

🙏 Acknowledgments

💜 HaShem (Abba) and Yeshua, I LOVE YOU! 💜 Thank you! I HONOR + GLORIFY YOU FOREVER ... 💜

(back to top)

📝 License

This project is MIT licensed.

(back to top)


logo

Anna Petras for KING YESHUA - Kefi Unearthed

💜
💜
💜
PETRAS FAMILY