Skip to content

Smethan/tetris-js-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris-JS

  • Written in JS, HTML, and CSS only, no libraries
  • Uses canvas API to do the game thing

Structure

  • index.js - Contains main game loop and lots of initialization
  • Board.js - Board class file, many methods are here
  • Piece.js - Piece class file, not really complicated
  • Consts.js - Contains constants to be initialized before page start (i.e piece shapes, level timings)

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published