Skip to content

This project is a modern take on the classic Tetris game, built using HTML, CSS, and JavaScript. Players control falling tetromino shapes to create complete rows, which clear from the board. The game features colorful visuals, smooth animations, and engaging sound effects.

Notifications You must be signed in to change notification settings

HotShot003/Tetris-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Game Project

Welcome to the Tetris Game Project repository! This project implements a classic Tetris game using HTML, CSS, and JavaScript.

Features

  • Grid-based gameplay area: Tetris board with dynamic tetromino shapes.

  • Tetromino shapes with rotation: Seven different tetromino shapes that can be rotated.

  • Score and level tracking: Keep track of score based on lines cleared and level progression.

  • Game over detection: Detect when the game ends due to stacked tetrominoes reaching the top.

  • Responsive design: Playable on various screen sizes.

Technologies Used

How to Play

  • Controls:

    • Use arrow keys (left, right, down) to move tetrominoes.

    • Use the Space key to rotate tetrominoes clockwise.

    • Press spacebar to drop tetrominoes instantly.

  • Objective: Complete horizontal lines by filling them with blocks to clear them and score points. Avoid stacking tetrominoes to the top of the board.

Development Notes

  • Implemented using vanilla JavaScript for game logic.

  • Used CSS Flexbox/Grid for responsive layout.

  • Challenges included managing tetromino movement and rotation logic.

Future Enhancements

  • Add levels with increasing difficulty.

  • Implement multiplayer mode.

  • Improve UI/UX with animations and sound effects.

Live Demo

Live Demo

Contributing

Contributions are welcome! Fork the repository and submit a pull request with your enhancements.

ThankYou 😊

About

This project is a modern take on the classic Tetris game, built using HTML, CSS, and JavaScript. Players control falling tetromino shapes to create complete rows, which clear from the board. The game features colorful visuals, smooth animations, and engaging sound effects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published