public bool Hit(Player a_player) { if (m_deck != null && m_hitRule.DoHit(this) && !IsGameOver(a_player)) { DealHand(a_player, true); return(true); } return(false); }
public bool IsGameOver(Player a_player) { if (m_deck != null && /*CalcScore() >= g_hitLimit*/ m_hitRule.DoHit(this) != true || a_player.CalcScore() > g_maxScore) { ShowHand(); return(true); } return(false); }
public bool Hit(Player a_player) { if (m_deck != null && a_player.CalcScore() < g_maxScore && !IsGameOver()) { m_softRule.DoHit(this); DealerDealsCard(m_deck, a_player, true); return(true); } return(false); }
public void Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { Hit(this); } } }
public bool Stand(Player a_player) { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { GetCard(m_deck); } } return(false); }
public bool Stand(Player a_player) { if (m_deck != null) { this.ShowHand(); while (m_hitRule.DoHit(this)) { GiveCard(this, true); } } return(false); }
public bool Stand() { if (theDeck != null) { ShowHand(); while (theHitRule.DoHit(this)) { DealCard(true, this); } } return(true); }
public void Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { GetShowDealCard(this, true); } } }
public bool Stand(Dealer a_dealer) { if (m_deck != null) { while (m_hitRule.DoHit(this)) { a_dealer.ShowHand(); GetShowAndDealCardToDealer(true, a_dealer); } } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { Deal(this, true); } } return(true); }
public void Stand() { if (m_deck != null) { ShowHand(); } while (m_hitRule.DoHit(this)) { DrawCard(this, true); } }
internal bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { NewCard(this); } } return(false); }
public bool Stand(Player a_player) { if (m_deck != null) { while (m_hitRule.DoHit(this)) { m_dealCardRule.DealCard(m_deck, this, this); NotifySubscriber(); } return(true); } return(false); }
public bool Stand(Player a_player) { if (m_deck != null) { ShowHand(); } while (m_hitRule.DoHit(this)) { PlaceCard(this, true); } return(true); }
public bool Stand(Player a_dealer) { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { Deal(this, true); } return(true); } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { AddCard(this, true); } return(true); } return(false); }
internal bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { Card a_card = m_deck.GetCard(); a_card.Show(true); DealCard(a_card); } } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { this.DealCardFromDeck(true, this); } return(true); } return(false); }
public bool Stand(Player a_player) { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { GetAndGiveNewCard(this, true); } return(true); } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { GetCardAndShow(this); } return(true); } return(false); }
public bool Stand() { if (m_deck != null) { this.ShowHand(); while (m_hitRule.DoHit(this)) { m_hitRule.DoHit(this); DealOpenCard(true, this); } return(true); } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { m_hitRule.DoHit(this); GetCardFromDeckAndDealIt(this, true); } return(true); } return(false); }
public bool Stand(Player a_player) { if (m_deck != null) { this.ShowHand(); while (m_hitRule.DoHit(this)) { Card c; c = m_deck.GetCard(); c.Show(true); this.DealCard(c); return(true); } } return(false); }
public bool IsGameOver() { if (m_deck != null && /*CalcScore() >= g_hitLimit*/ m_softRule.DoHit(this) != true) { return(true); } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); foreach (Card c in GetHand()) { c.Show(true); } while (m_hitRule.DoHit(this)) { DealCard(this, true); } return(true); } return(false); }
public bool Stand() { Card c; if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { c = m_deck.GetCard(); c.Show(true); DealCard(c); return(true); } } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); foreach (Card c in GetHand()) { c.Show(true); } while (m_hitRule.DoHit(this)) { m_hitRule.DoHit(this); getCardAndDealToPlayer(this); } return(true); } return(false); }
public bool Stand() { if (m_deck != null) { ShowHand(); while (m_hitRule.DoHit(this)) { // Card c; // c = m_deck.GetCard(); // c.Show(true); // this.DealCard(c); HandCard(this, true); } return(true); } return(false); }
public bool Stand() { if (m_deck != null) { Card c; this.ShowHand(); do { c = m_deck.GetCard(); c.Show(true); this.DealCard(c); }while (m_hitRule.DoHit(this) == true) ; return(true); } return(false); }
public bool Stand() { if (m_deck != null) { this.ShowHand(); while (m_hitRule.DoHit(this)) { Card c = m_deck.GetCard(); // If it's hit add card. this.showAndAdd(c, true); } return(true); } else { return(false); } }