diff --git a/Uno.txt b/Uno.txt index df9255f..de20e7b 100644 --- a/Uno.txt +++ b/Uno.txt @@ -2,15 +2,16 @@ Shuffle deck Define cards 2-10 each with their four suits: - Heart = suit1 - Diamond = suit2 - Clubs = suit3 - Spades = suit4 + Heart = suit1; + Diamond = suit2; + Clubs = suit3; + Spades = suit4; Define face cards as: Jack = switch rotation order of players until another jack is put down Queen = skip next turn King = next player draws 2 cards from draw pile + Ace = next player draws 4 cards from draw pile //joker can be a boolean depending if it has a suit or not (suit being true or false) //also, define Joker as boolean @@ -23,16 +24,17 @@ Define face cards as: //doesn't really matter,make it random rock paper scissors for who goes first. First player = player with the oldest birthday Next player = player with the next oldest birthday - Repeat until all players have been named + Repeat until all players have been named; //make integer carts with a value of ten int Cards = 10; - p1,p2,p3,p4 = Cards + p1,p2,p3,p4 = Cards; //no need to repeat code when you can apply to all players defining how many cards they have Give first player 10 cards: Give next player 10 cards: - Repeat until all players have 10 cards + Repeat until all players have 10 cards; + //card order doesn't matter kiddo, you're making it harder for yourself Player puts cards in ascending xor descending order: - Repeat until all players have sorted thier cards + Repeat until all players have sorted thier cards; Rest of Cards = draw pile