Tetris game using canvas