ramonaspence / 6.3_Python_War_Game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • """
  • Implement the card game war. Rules are:
    1. Deal out deck of 52 cards between two users.
    1. Each player plays a card. Higher card wins. Winner takes both cards.
    1. If players tie, then each player puts down three cards, and the third card competes. If a player has less than 3 cards, then * they put down all of their cards and their final card competes against the other player's third card. Continue doing this until * tie is broken. Winner takes all cards.
    1. Game is over when a player doesn't have any cards. The player with cards remaining is the winner.
  • """

About


Languages

Language:Python 100.0%