Card Game Project Requirements:
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
Should allow for test cases to validate functions are working
Pregame functions – betting, dealing out cards, number of
players. Essentially any thing that needs to happen before game
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
Overview of what program does.
Specification of each Object (Card, Deck, Player)
Description and workflow for game engine.
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 is Readable
Variable Names are meaningful
Code Tabs Lineup properly
Comments are handled appropriately