Refactoring and tackling the game logic for the first time. New empty game starts with a random block, which appears to be working.