Simulation and Modeling

Assignment 1 : Simulation of Blackjack

 

Rules of Blackjack to be implemented

We will be implementing Blackjack - a well known card game using one of the following UI libraries:

See apps.game.Cards for starter code representing a deck of playing cards.

Blackjack has many rules, but to make it simple to implement we will only use some of these rules. Any student who wants to implement more is welcome, but remember that the following rules must be implemented.

Values for the Cards

The player's Objective of the game is to get a score higher than the dealer and as close to "twenty-one" as possible. If the player or dealer exceed a score of "twenty-one, this is called a bust and that person loses the hand. If the dealer and player have the same score, it is called a push and nobody wins the hand. As explained before, the players DO NOT play against each other. The player must play first, if the players hand exceeds "21", (busts), the player loses their bet, even if the dealer busts on his hand.

Scala is the recommended language to use, but Java is acceptable. As always, code must be well documented and attributed to its author. Explain how to build and run your program in a README file. This file must also explain the contributions of the team members.