Re: Dealing cards

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thakyou for your reply. Yes Im trying to calculate the likely winner,
and the odds to match. Thanks for the link, should keep me busy for a
while.
Regards Robert

Morten Wennevik wrote:
Hi Robert,

Are you perchance trying to calculate the probability of who is the most
likely winner, or just need a program that keeps track of which cards have
already been dealt?

The latter is easy if you use a List or ArrayList and just remove the card
as it is dealt. The former is quite a bit more complex.

This article may give you some useful hints, if not the solution.

http://www.codeproject.com/csharp/blackjack.asp



On Tue, 28 Nov 2006 10:44:28 +0100, RobcPettit@xxxxxxxxxxx
<RobcPettit@xxxxxxxxxxx> wrote:

Hi, could somebody in the right direction to write a program to deal
cards. What I want to do is:
With an 8 deck of cards. I know the player has an ace, the dealer has a
2, is deal every possible scenario, going player,banker then dealer. Up
to max 3 cards each. Also there be rules for when the banker takes a
card or not. Eg if the palyers dealt another ace, then deal all posible
cards for dealer with 2A, and out comes. Thaen again for Player A2 etc,
through to AK. Starting agian with 22 for dealer etc. At the momment Im
using excel to do this, but its slow.
Regards Robert




--
Happy Coding!
Morten Wennevik [C# MVP]

.



Relevant Pages

  • Poker Pokerstrategies
    ... Basic Blackjack and Card Counting ... discovered the Thorp book, Beat the Dealer, which opened the world to ... Advantage play, ... It does not take that much practice to count the cards as ...
    (de.etc.finanz.misc)
  • BlackJack Book by D.Selzer-McKenzie
    ... Basic Blackjack and Card Counting ... discovered the Thorp book, Beat the Dealer, which opened the world to ... Advantage play, ... It does not take that much practice to count the cards as ...
    (de.etc.finanz.misc)
  • Re: OT: Blackjack
    ... with an 11 for all dealer cards, EXCEPT an ace. ... Given that 8 deck shoes are less favorable to the player than a 6 deck ...
    (rec.gambling.poker)
  • Re: OT: Blackjack
    ... with an 11 for all dealer cards, ... S17, Dealer peek, NoSurrender table that pays 3 to 2. ... Given that 8 deck shoes are less favorable to the player than a 6 deck ... If there was no dealer peek on an ace then I'd just hit. ...
    (rec.gambling.poker)
  • Re: Offline Poker question.
    ... you played against the dealer, got dealt some cards and had to ... with his own new 'stack' of cards. ... Anyone every played this game? ... I think you get dealt 5 cards and you have to beat the dealer hand. ...
    (rec.gambling.poker)