public bool Play() { do { count += Cards.Turn(); if (count > 21) { Write.CountCroupier(count); return(true); } }while(count <= 17); Write.CountCroupier(count); return(false); }
public bool Play() { ConsoleKeyInfo check; do { count += Cards.Turn(); Write.PlayerTurn(); Write.CountPlayer(count); if (count > 21) { return(true); } Write.WriteToContinue("take a card"); check = Console.ReadKey(); }while(check.Key != ConsoleKey.Escape); return(false); }
public Сroupier() { count += Cards.Turn(); }
public Player() { count += Cards.Turn(); Write.PlayerTurn(); }