A game of Tetris implemented in JavaScript