public void JoinGame(BlackjackGame game) { if (this.Game == null) { this.Game = game; } else { throw new Exception("Player cannot join a new game before leaving previous game."); } }
public void LeaveGame() { this.Game = null; }