Tetris game implemented in react