ucsb-cs56-projects / cs56-pokergame

-
0 stars 3 forks source link

Multiplayer #5

Closed shumarvin closed 8 years ago

shumarvin commented 8 years ago

Add multiplayer to the game, either local or co-op

mbahia commented 8 years ago

Approved 250 pts

samuelechu commented 8 years ago

modifications:

made comparison procedure to get the best hand from a dealer hand (5 cards) and a player hand (2 cards)

    -add Hand constructor to deal arbitrary amount of cards
    -add copy constructor for Hand because comparison methods remove cards from the Hand
    -fix comparison when comparing same type of hand / same numbers for cards (see sameHand
       method)

modify layout on poker game screen

     -two, three, or four players
     -use flow layout for hands
     -each player has two card hands. Get best hand for each, then compare each hand to get the 
        best hand

modify tests

     -add tests to compare hands that have the same card numbers
mbahia commented 8 years ago

Approved +50 for each, total 400 pts