Files
basic-computer-games/10_Blackjack/csharp/Player.cs
Chris Reuter d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00

28 lines
589 B
C#

namespace Blackjack
{
public class Player
{
public Player(int index)
{
Index = index;
Name = (index + 1).ToString();
Hand = new Hand();
SecondHand = new Hand();
}
public int Index { get; private set; }
public string Name { get; private set; }
public Hand Hand { get; private set; }
public Hand SecondHand { get; private set;}
public int RoundBet { get; set; }
public int RoundWinnings { get; set; }
public int TotalWinnings { get; set; }
}
}