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.
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.
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.