public void DisplayWelcomeMessage(model.rules.IRulesFactory rules) { System.Console.Clear(); System.Console.WriteLine("Hello Black Jack World"); System.Console.WriteLine("----------------------"); System.Console.WriteLine("The following rules are used:"); rules.GetNewGameRule().Accept(this); rules.GetWinRule().Accept(this); rules.GetHitRule().Accept(this); System.Console.WriteLine("----------------------"); System.Console.WriteLine("Type 'p' to Play, 'h' to Hit, 's' to Stand or 'q' to Quit\n"); }
public void DisplayWelcomeMessage(model.rules.IRulesFactory rules) { System.Console.Clear(); System.Console.WriteLine("Hej Black Jack Världen"); System.Console.WriteLine("----------------------"); System.Console.WriteLine("Följande regler används:"); rules.GetNewGameRule().Accept(this); rules.GetWinRule().Accept(this); rules.GetHitRule().Accept(this); System.Console.WriteLine("----------------------"); System.Console.WriteLine("Skriv 'p' för att Spela, 'h' för nytt kort, 's' för att stanna 'q' för att avsluta\n"); }
public void DisplayWelcomeMessage(model.rules.IRulesFactory rules) { EnableDisableInputActionButtons(true); //generate rules m_rules = ""; rules.GetNewGameRule().Accept(this); rules.GetWinRule().Accept(this); rules.GetHitRule().Accept(this); //clear player and dealer hand card controls ClearHands(); }