Skip to content

Instantly share code, notes, and snippets.

@GeoffPurdy
Created September 16, 2014 00:26
Show Gist options
  • Save GeoffPurdy/576a4250431b7367b35c to your computer and use it in GitHub Desktop.
Save GeoffPurdy/576a4250431b7367b35c to your computer and use it in GitHub Desktop.

#My understanding of the game of blackjack is tenuous at best #And I do not expect to master Blackjack before class tomorrow. #Thus I will err on the side of simplicity at the risk of oversimplification

Required items: One to eight decks of playing cards One dealer Two or more non-dealer players (with implicit limit on num players?)

Card decks are combined and randomized and ordering of deck is not observable to any participants Dealer distributes two cards to each player (dealt cards partially/fully observable to all participants?) Players place "bets" based on observable state of game (betting rules?) State of all players' hands is revealed to all players If any single player cards total 21, the game is over and the player with 21 collects all bets Else By turns, players may optionally request additional cards with the goal of winning (high score && <=21) Any player whose total exceeds 21 is out of the game and forfeits any bets At some point, players may optionally double their bets. (I don't understand this - when or how) The dealer may (optionally?) obtain additional cards (I don't understand this either) Participant with the highest total <=21 wins and collects all bets (I don't understand how ties are handled)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment