Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Task

Create a classic Tetris game using HTML Canvas and Vanilla JavaScript. The main challenge is implementing correct game logic, realistic gravity, and visual effects without using external libraries.

Description

The game is built using a matrix-based arena system. Tetrominoes fall inside the arena, collide with existing blocks, merge into the field, and clear full lines.

Additional features include:

  • 7-bag random system for fair piece generation
  • Line clear animation with particle effects
  • Realistic gravity: only detached blocks fall down
  • Async logic using async/await

Installation

No installation required.

Open the project directly in a browser:

Usage

Control the game using the keyboard: Arrow Left - move left Arrow Right - move right Arrow Down - soft drop Arrow Up - rotate piece

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages