Skip to content

seth-nelson/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

A simple Tetris game made with JavaScript

Utilizes sets of array index for shape and box creation and movement. The initial loop creates the large and small grid directly on the dom with preset properties.

Borders work off of mathmetical operators by preventing the index of the specified div from moving to an index that matches numbers past the border.

The shape movement is done by moving the index forward or backward depending on the key code that is pressed.

A scoreboard is also mplemented, as well as a pause button and a reset button.

--Unfinished, still a work in progress--

About

A simple Tetris game made with JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published