Now that I have a deck of cards built, it’s time to write a game. The first game I’ll write will be war, because it’s the simplest game I know.
Here are the rules:
- A standard deck is divided evenly between two players.
- Each player draws their top card to play.
- The player with the highest cardvalue wins (aces are high).
- The winner keeps both cards played and adds them to the bottom of his stack.
- If both players draw cards of equal value, the players go to “war.”
- Each player lays three cards face down.
- If a player runs out of cards during a “war,” then he may play his last card as his face-up card.
- The players choose a card from the three to turn face up.
- The higher card wins, with the winner adding all of the cards to the bottom of his hand.
- If both players choose cards of equal value, they go to “war” again.
- Each player lays three cards face down.
- The player to collect all the cards in the deck wins.
Recent Comments