Improved buyFlat() method in GamePlayManager class.