Skip to content

yuna0831/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Game

Welcome to the Tetris Game project! This is a simple implementation of the classic Tetris game built with HTML, CSS, and JavaScript.

Features

  • Responsive design that works on desktop browsers.
  • Playable with keyboard controls.
  • Background music and sound effects to enhance the gaming experience.
  • Dynamic scoring system based on lines cleared.

Getting Started

Prerequisites

To run this game, you'll need a modern web browser that supports HTML, CSS, and JavaScript.

How to Play

Left Arrow: Move the tetromino left. Right Arrow: Move the tetromino right. Down Arrow: Move the tetromino down faster. Up Arrow: Rotate the tetromino. Spacebar: Drop the tetromino instantly to the bottom.

Sound Controls

Click the "BGM On" button to toggle background music on and off during the game.

Game Design

The game board is a 10x20 grid, with each block sized at 24x24 pixels. The game styles are defined in style.css and ensure a visually pleasing experience with a gradient background and neatly defined blocks with shadows for depth perception.

tetris-project.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors