Saturday 17 November 2012

GAME DEMONSTRATION

Regrettably I failed to upload this at the stated time.

The process by which the "dealer" estimates the value of the players hand is at follows:

X = the value of a card (ace = 1, all face cards = 10)

A = total number of with value X not in the dealer's hand

B = initial values for A OR int(20/X) (whichever is smallest)

N = number of cards in my hand

C = total number of cards not in dealers hand = (size of remaining deck + N)

Z = probability that I have a card of value X = (N*B)/C

                                                               X = 10
T = (estimated total value of my hand) = Σ(ZX)
                                                               X = 1

I may amend this so that the "dealer" assumes that I have a high value if I have not drawn a card for several turns.

here is the video:


Wednesday 14 November 2012

watch this space:

By the end of today, I shall (all going according to plan) have a video walk-through of a single player blackjack game against the dealer, with one standard (no-joker) deck, and no additional players. Of course, there is still much to be done with regards to a graphical user interface, as the picture box feature can only (to the besticle of my knowledge) hold one picture at a time. Thus I face the dilemma: should the users "hand" be represented by a large number of picture boxes -most of which will not be used-, or is there a more innovative solution possible? if anyone knows (keep in mind I am using visual basic 2008 please use the commenty bit. also here is a cute thing: