By Anthony Marino and Desmond Lee |
Game Rules Our blackjack game follows the basic rules that you would follow if you were
to play blackjack in a casino. The rules are as follows: Software Block Diagram The game follows the below execution flow: Design Decisions To prevent the blackjack code from becoming excessively complicated, we made two design decisions. Implementation of suits — For this version of blackjack, we did not implement the suit of the card dealt. Because the suit in blackjack has no effect on the outcome of the game, we decided that implementing suits would be a time sink that would return no real dividends. Doubling down after splitting hand — As we did final tests on our game, we discovered that doubling down on a hand after it had been split did not work correctly. Because we could find no fix that would not require us to rewrite the betting scheme, we decided that if you double down on one hand after splitting, you must also double down on the other hand as well. Because this case is so rare, we feel that this is an acceptable solution for our game.
|
|