コード例 #1
0
ファイル: Game.cs プロジェクト: angiealters/lemonade-stand
 //methods
 public void PlayGame()
 {
     rules.DisplayRules();
     day = new Day();
     day.weather.WeeklyForecast();
     player = new Player();
     store  = new Store(player);
     while (day.day < 8)
     {
         day.DisplayDay();
         GoToStore();
         player.PlayerStart();
         day.CustomerBuy(player);
         day.DisplayTotalProfit(player);
     }
     EndGame();
 }