You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this game will keep drawing top cards at the start of a round if a W or WD4 comes up. The UNO rules specify that the start of a round should be handled as follows:
STARTING A DISCARD PILE
Well, if a word card is the first one turned up from the DRAW pile, this is what happens.
Wild Draw Four - It's put back in the deck and another one is chosen.
Wild Card - The player to the left of the dealer calls out a color - then plays.
Draw Two Card - The player to the left of dealer must pick two cards and then the next player goes (sad, but true).
Reverse Card - The dealer plays first, but then goes to the right instead of the left.
Skip Card - The player to the left of dealer doesn't start (get it, he's skipped). The player to the left of him starts.
Make sure to verify that all of these rules are being followed, in addition to adding the W and WD4 logic. Will probably reduce the elegance of the code somewhat because cardPlayed() or deal() or something in UnoGame will have to handle prompting for a color if the first card is W.
The text was updated successfully, but these errors were encountered:
Currently this game will keep drawing top cards at the start of a round if a W or WD4 comes up. The UNO rules specify that the start of a round should be handled as follows:
— http://www.wonkavator.com/uno/unorules.html
Make sure to verify that all of these rules are being followed, in addition to adding the W and WD4 logic. Will probably reduce the elegance of the code somewhat because
cardPlayed()
ordeal()
or something inUnoGame
will have to handle prompting for a color if the first card is W.The text was updated successfully, but these errors were encountered: