Planning Document
Planning Document
Uno (arraylist to store cards, simple cards store their color and value, advanced cards inherit those values and their
special operator.
Short shr
Integer int
Long lng
Float flt
Double dbl
Char chr
Boolean bol
- Add card, this method will take in 4 player objects and loop
through the give card method to give the victim player the cards.
Playerclass is used to store a - An Arraylist of bytes that holds the current number of cards the
player's name, hand, skill effects, player has
win/loss information, etc. - String to store player name
- Byte to store number of wins
- Given a card, this will take the top card from pile 1 and return it, it
will then delete that card from its array, essentially moving it to a
player.
Variable NA
Return bolReverseNewOrder;
Parameters bolReverseOldOrder;
Return NA
Parameters NA
+2 Card extends card Methods: Adding a person's hand will call the player object and card
Manager
Variable NA
Return NA
Change color card extends card Methods: Change color class will subtract a card from the deck in the card
manager object and let the user specify the color of the next card in the
Game runner
Return NA
Return NA