CS 456 Project 2 ("Simplified Blackjack")
Description and Links to projects
This is a simplified game of Blackjack.
Click here for more information.
Analysis and Annotation
The rules of this Blackjack game had been modified so that the coding for this project would not be so complicated. This game only contains 1 deck of cards (52 different playing cards).
Here is the game process:
Here are some rules, which are different from the original Blackjack rules:
Expansion and reuse
This game could be expanded to have the original Blackjack game rules. First of all, the Ace can be counted as 10 or 11. Dealer and player should be dealt before player starts into play. Dealer should show one card during the player's turn. Nothing much could be expanse for this project because most of the bugs had been fixed.
Reusability of the code of this project is very high because most sub-procedures or sub-functions can be run independently. The sub-procedure or sub-function, which has the highest reusability of code, would be the sub-function "Generate". This function will randomly generate number to open a single card in a specified amount of time. Another reason is that this function can be used in any card games like Poker Game, Game of Concentration, Bridge and etc.
Difficulty scale, time estimate and person estimates for the maintenance
Difficulty Scale: 5 of 10
Time estimate for maintenance: 4 hours
Person needed for maintenance: 1 person