cmake: test WITH_MOCK value instead of existance
Fix getRandomTetrominoType
Implement space key