Skip to content

HTML5-Canvas/JavaScript Tetris game with an animated background

License

Notifications You must be signed in to change notification settings

Btsan/webcanvas_tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webcanvas_tetris

Simple HTML5-Canvas/JavaScript Tetris game implementation. Demo complete with background effect.


This project began as part of another project, but later did not get used. I modified it to be a playable web demo. It runs well on desktop and mobile devices.

background animation

The background animation uses colors interpolated from value noise. The implementation uses code I adapted from my previous project which utilized 2D value noise. Here, I extended my Noise.js file to produce 3D value noise.

Tetris

The game implementation tries to follow the standard Tetris guidelines. I chose not to implement wall-kicks or other player conveniences, since it did not seem necessary for my other project. Score is also not counted, but it would be simple to implement.

About

HTML5-Canvas/JavaScript Tetris game with an animated background

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published