public bool Play() { a_view.DisplayWelcomeMessage(); a_view.DisplayDealerHand(a_game.GetDealerHand(), a_game.GetDealerScore()); a_view.DisplayPlayerHand(a_game.GetPlayerHand(), a_game.GetPlayerScore()); if (a_game.IsGameOver()) { a_view.DisplayGameOver(a_game.IsDealerWinner()); } int input = a_view.GetInput(); if (a_view.IsPlay(input)) { a_game.NewGame(); } else if (a_view.IsHit(input)) { a_game.Hit(); } else if (a_view.IsStand(input)) { a_game.Stand(); } return(!a_view.IsQuit(input)); }