Added .GetName extension method which will show human readable hand values in text. Also completely moved .betdraw the the new deck implementation. A renamed to Ace

This commit is contained in:
Kwoth
2022-07-23 04:52:40 +02:00
parent c20b851dc7
commit ccf92ca702
7 changed files with 50 additions and 23 deletions

View File

@@ -20,8 +20,7 @@ public sealed class BetdrawGame
if (val is null && col is null)
throw new ArgumentNullException(nameof(val));
_deck.Shuffle();
var card = _deck.Peek()!;
var card = _deck.Peek(_rng.Next(0, 52))!;
var realVal = (int)card.Value < 7
? BetdrawValueGuess.Low