Application of twenty one card game, Game Theory

Assignment Help:

This version of Twenty-one is a card game played between a player and the dealer (the computer). The aim of the game is to accumulate a higher point total than the dealer but without going over a total of 21. Your point total is calculated by adding the face value of your individual cards. Each card counts as its face value, except for the face cards (jack, queen and king) which count as 10, and the ace is worth either 1 or 11 (player's choice at the time following the dealing of the card). If the dealer receives an ace it will always count as 11. At start of the game, the player and dealer receives two cards each (face up). The player can keep his hand as it is ( stand) or take more cards from the deck (hit), one at a time, until either the player decides that their hand is sufficient to play against the dealer and stands, or until the total goes over 21, in which case the player immediately loses (busts).

If the player has decided to stand, it is the dealer's turn. If the dealer has 21, (an ace with any 10 point card), the dealer immediately wins. If the dealer does not have 21, the dealer hits (takes more cards) or stands depending on the value of their hand. The only additional rule on the dealer, is that the dealer must hit if the value of their hand is lower than 17.  No such rule applies to the player. If the dealer goes bust, then the player wins. Otherwise whoever has the higher point value wins. If both dealer and player have same point value neither wins.

Sample Game Interaction (Mock-up)

Player has Two, Five

Dealer has Ace, Two

Player hit (H) or stand (S): H

Player has Two, Five, Queen

Player hit (H) or stand (S): S

Player has 17 points

Dealer hit

Dealer has Ace, Two, Four

Dealer hit

Dealer has Ace, Two, Four, Six

Dealer has gone bust (23 points) - you win

You have won 1 games and I have won 0 games

Another Game? (Y or N)


Related Discussions:- Application of twenty one card game

Calculate the expected payout, James and Dean are playing the Chicken game....

James and Dean are playing the Chicken game. They have noticed that their payout for being perceived as "tough" depends on the size of the crowd. The larger the crowd, the "cooler"

Game 3 bargaining, GAME 3 Bargaining Two players A and B are chosen. P...

GAME 3 Bargaining Two players A and B are chosen. Player A offers a split of a dollar (whole dimes only). If B agrees, both get paid the agreed coins and the game is over. If

Explain about the term game theory, Explain about the term Game Theory. ...

Explain about the term Game Theory. Game Theory: While the decisions of two or more firms considerably influence each others’ profits, in that case they are into a situation

Game:claim a pile of dimes, GAME 1 Claim a Pile of Dimes Two players A...

GAME 1 Claim a Pile of Dimes Two players Aand B are chosen. The instructor places a dime on the table. Player A can say Stop or Pass. If Stop, then A gets the dime and the gam

Vickrey auction, A sealed-bid second worth auction during which participant...

A sealed-bid second worth auction during which participants every simultaneously submit bids. The auctioneer discloses the identity of the very best bidder who is said the winner.

Write two methods for the mouse trap game, Write two methods for the mouse ...

Write two methods for the mouse trap game (using your board created in Assignment 3) and an event handler (another method) to test the two methods. 1. world.raise(item) where

Dominant strategy , Normal 0 false false false EN-US ...

Normal 0 false false false EN-US X-NONE X-NONE

All pure nash equilibrium for strategic form game, write a program in c tha...

write a program in c that takes n number finite players using gambit format and output is to be all pure strategy nash equilibrium

Normal kind, The normal kind may be a matrix illustration of a simultaneous...

The normal kind may be a matrix illustration of a simultaneous game. For 2 players, one is that the "row" player, and also the different, the "column" player. Every rows or column

English auction, A type of sequential second worth auction during which an ...

A type of sequential second worth auction during which an auctioneer directs participants to beat the present, standing bid. New bids should increase the present bid by a predefine

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd