D10d3 icon

CPU Wars D10D3's House Rules

D10d3 | PRO | 05/05/15 12:02:46 AM UTC | 0 ⭐ | 1119 👁️ | Never ⏰ | []
Python |

1.64 KB

|

None

|

0 👍

/

0 👎

#CPU Wars D10D3's House Rules
#http://us.cpuwarsthegame.com/
#plain English rules at bottom
#http://www.d10d3.net/
 
all_cards.shuffle
Deck = 15 cards * Number_of_Players from all_cards
 
for I = Number_of_Players:
    player.hand = deal 5 cards to player from Deck
 
all_players.review(player.hand)
 
1st player = random.choice(Number_of_Players)
 
while player.hand = True:
    player.announce Stat
    all_players choose card and place face down on table
    if Stat.arrow = Up:
        player.card with highest Stat = Winner
    elif Stat.arrow = Down:
        player.card with lowest Stat = Winner
    elif Stats are even:
        discard cards
    Winner takes cards as Score_Stack
    if Deck = > 0:
        all_players.take card from Deck
    else:
        all_players continue with player.hand
        
Game_Winner = player(highest Score_Stack)
 
 
#Plain English Rules
"""
Shuffle the cards
Deal a deck of 15 cards per player, set unused cards aside, they will not be used
Deal 5 cards face down to each player
Players review their hands
Decide who goes first and take turns:
    1st Player announces a stat
    All players choose a card and place one face down on the table
    When all players have chosen a card turn them over and compare stats
    The player with either the highs stat (if the stat has an UP arrow) or the lowest stat (if it has a DOWN arrow) wins the hand.
    The winner collects all of the cards played in that hand and keeps them as a score stack.
    Each player takes a card off the top of the deck and adds it to their hand.
    Repeat steps with next player and so on.
When the deck is gone, play continues until everyone is out of cards
The player with the biggest score stack wins.
"""

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎