Tetris clone in Cosmos/React