Attempt to refactor the original version of 'FallingRocks' game.