I need help with my card game project. I have selected Blackjack as the game to build for C++. This assignment is broken up into 3 different parts, so I would need the answers submitted as the three steps listed so I know what goes into each part.
project overview: You are tasked with designing a program for a card game. This program should create a Deck, populate the Deck with Card objects and randomize the order of the cards. Cards should then be played to hands in accordance to the rules of the game.
The game must require at least 2 players, and a single deck of unique cards which all players feed from, and formal rules.
part 1: Specification for building your DeckFor part 1 of your card game you will need to create a specification for your card deck.This specification will include functions for populating cards to your deck and shuffling the deck (randomizing the order of the cards).For the specification I do expect a list of each operation with preconditions and postconditions.
part 2: For Task 2, You must implement the code for your deck. This implementation will require a menu that can be easily used to demonstrate and the functionality thus far.
part 3: full requirements
Card Game Project Requirements:
Title Screen
Title Menu:
- Run Game
- Rules – How game is played. This should display a string output explaining the game.
- Run Test Mode
Object Oriented Design pieces:
- Building Card Objects
- Building a Deck of Card Objects
- Shuffling Card Objects in Deck
- Creating Player Objects
- Moving cards from Deck to Player
- Validating Card values
Functional Design pieces:
- Test Engine – Used to test pieces of functionality separately
- Should allow for test cases to validate functions are working as expected
- Game Engine
- Pregame functions – betting, dealing out cards, number of players. Essentially any thing that needs to happen before game starts.
- Game workflow – setting which players turn it is, giving player turn choices. If Computer Player exist then logic must be in place to handle Computer players choices.
- Game Over conditions – What happens at end of game
Design Documentation
- Overview of what program does.
- Specification of each Object (Card, Deck, Player)
- Description and workflow for game engine.
Complexity requirement:
- Part of the Program which adds complex logic; Validation of Card values, complex workflow for determining whos turn it is, Decision making for Computer players.
Code Standards:
- Code is Readable
- Variable Names are meaningful
- Code Tabs Lineup properly
- Comments are handled appropriately


0 comments