Wrote a game loop in Blockster class.