fork download
  1. from random import shuffle
  2.  
  3. # variables for creating Cards.
  4. SUITE = 'H D S C'.split() # mean rô cơ trù bích
  5. RANKS = '2 3 4 5 6 7 8 9 10 J Q K A'.split()
  6.  
  7. class Deck:
  8.  
  9. """
  10. Create a deck of cards to initiate play
  11. """
  12.  
  13. def __init__(self):
  14. 'crating Deck'
  15. self.items = [(s,r) for s in SUITE for r in RANKS]
  16.  
  17. # mix all card
  18. def shuffle_deck(self):
  19. print("shuffle cards")
  20. shuffle(self.items)
  21.  
  22. # deck(4*13 =52 cards) was devided for 2 people
  23. def split_deck(self):
  24. print("split Deck")
  25. return(self.items[:26], self.items[26:])
  26.  
  27. class Hand(Deck):
  28. """ add or remove cards from that hand"""
  29.  
  30. def __init__(self, cards):
  31. self.cards = cards
  32.  
  33. def add_card(self, card):
  34. print("add a card to deck")
  35. self.cards.extend(card)
  36.  
  37. def remove_card(self):
  38. return self.cards.pop()
  39.  
  40. class Player:
  41.  
  42. """ check cards, takes in a name and instance of Hand class"""
  43.  
  44. def __init__(self, name, hand):
  45. self.name = name
  46. self.hand = hand
  47.  
  48. def play_card(self):
  49. card = self.hand.remove_card()
  50. print("{} card to be played by {}".format(card, self.name))
  51. return card
  52.  
  53. def card_for_war(self):
  54. war_cards = []
  55. if len(self.hand.cards) < 3:
  56. return war_cards
  57. else:
  58. for i in range(3):
  59. war_cards.append(self.hand.remove_card())
  60. return war_cards
  61.  
  62. def still_has_cards(self):
  63. return len(self.hand.cards) != 0
  64.  
  65. #GAME Play
  66.  
  67. print("Welcome to War, let's begin...")
  68.  
  69. # Use the 3 classes along with some logic to play a game of war
  70.  
  71. deck = Deck()
  72. deck.shuffle_deck()
  73. name = input("What is your name?")
  74. half1, half2 = deck.split_deck()
  75.  
  76. player_comp = Player('computer', Hand(half1))
  77. player_user = Player(name, Hand(half2))
  78.  
  79. war_count = 0
  80. rounds = 0
  81.  
  82. while(player_comp.still_has_cards() and player_user.still_has_cards()):
  83. print("It is time for a new round!")
  84. print("here are the current standings: ")
  85. print(player_user.name+" cout: "+str(len(player_user.hand.cards)))
  86. print(player_comp.name+" cout: "+str(len(player_comp.hand.cards)))
  87. print("Both players play a card!")
  88. print('\n')
  89.  
  90. rounds += 1
  91. card_user = player_user.play_card()
  92. card_comp = player_comp.play_card()
  93.  
  94. #comparing Both
  95. table_cards = []
  96.  
  97. table_cards.append(card_comp)
  98. table_cards.append(card_user)
  99.  
  100. if card_comp[1] == card_user[1]:
  101. war_count += 1
  102.  
  103. print("war")
  104.  
  105. table_cards.extend(player_user.card_for_war())
  106. table_cards.extend(player_comp.card_for_war())
  107.  
  108. if RANKS.index(card_comp[1]) < RANKS.index(card_user[1]):
  109. player_user.hand.add_card(table_cards)
  110. else:
  111. player_comp.hand.add_card(table_cards)
  112. else:
  113. if RANKS.index(card_comp[1]) < RANKS.index(card_user[1]):
  114. player_user.hand.add_card(table_cards)
  115. else:
  116. player_comp.hand.add_card(table_cards)
  117.  
  118.  
  119. print('rounds were ' + str(rounds))
  120. print('wars were ' + str(war_count))
Success #stdin #stdout 0.02s 37064KB
stdin
daynhauhoc
stdout
Welcome to War, let's begin...
shuffle cards
What is your name?split Deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('D', '7') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('D', '7') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('C', '2') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('H', '6') card to be played by daynhauhoc
('C', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('S', '10') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('S', '10') card to be played by daynhauhoc
('C', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('H', '6') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('D', '7') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('D', '7') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('H', '6') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('C', '2') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('C', '4') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('C', '4') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('C', '2') card to be played by daynhauhoc
('C', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('D', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 32
computer cout: 20
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('S', '5') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 33
computer cout: 19
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('D', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 34
computer cout: 18
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('H', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 36
computer cout: 16
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('H', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 37
computer cout: 15
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('H', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 38
computer cout: 14
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 39
computer cout: 13
Both players play a card!


('H', 'A') card to be played by daynhauhoc
('C', 'A') card to be played by computer
war
('C', 'A') ('H', 'A') 12 12
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('H', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 36
computer cout: 16
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 37
computer cout: 15
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 36
computer cout: 16
Both players play a card!


('S', '6') card to be played by daynhauhoc
('H', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('H', '4') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 34
computer cout: 18
Both players play a card!


('C', '8') card to be played by daynhauhoc
('H', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('C', '8') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 36
computer cout: 16
Both players play a card!


('C', '8') card to be played by daynhauhoc
('H', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('S', '6') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 34
computer cout: 18
Both players play a card!


('H', '4') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 33
computer cout: 19
Both players play a card!


('D', '4') card to be played by daynhauhoc
('H', '4') card to be played by computer
war
('H', '4') ('D', '4') 2 2
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('H', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 32
computer cout: 20
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('D', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 33
computer cout: 19
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('C', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 34
computer cout: 18
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('S', '5') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('D', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 36
computer cout: 16
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('H', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 37
computer cout: 15
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 36
computer cout: 16
Both players play a card!


('H', '4') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 35
computer cout: 17
Both players play a card!


('D', '4') card to be played by daynhauhoc
('H', '4') card to be played by computer
war
('H', '4') ('D', '4') 2 2
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('S', '6') card to be played by daynhauhoc
('H', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 32
computer cout: 20
Both players play a card!


('S', '6') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('H', '2') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('C', '8') card to be played by daynhauhoc
('H', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('C', '8') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 32
computer cout: 20
Both players play a card!


('C', '8') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('S', '6') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('H', '2') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('H', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 32
computer cout: 20
Both players play a card!


('H', 'J') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('C', '8') card to be played by daynhauhoc
('H', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('S', '6') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('H', '2') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('H', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('C', 'J') card to be played by daynhauhoc
('H', 'J') card to be played by computer
war
('H', 'J') ('C', 'J') 9 9
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('S', '10') card to be played by daynhauhoc
('D', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('S', '10') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('D', '6') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('D', '7') card to be played by daynhauhoc
('D', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('D', '7') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('D', '6') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('H', '6') card to be played by daynhauhoc
('D', '6') card to be played by computer
war
('D', '6') ('H', '6') 4 4
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('D', '2') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('D', '10') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('D', '10') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('D', '3') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('D', '3') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('C', '7') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('C', '7') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('C', '7') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('D', '3') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('S', '9') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('S', '9') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('S', '9') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('S', '9') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('C', '7') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('D', '3') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('S', 'Q') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('S', 'Q') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('S', 'Q') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('S', 'Q') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('S', 'Q') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('S', 'Q') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
war
('H', 'Q') ('S', 'Q') 10 10
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', '3') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('D', '10') card to be played by daynhauhoc
('S', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('S', '9') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('C', '7') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('S', '10') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('S', '10') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('S', '10') card to be played by daynhauhoc
('D', '10') card to be played by computer
war
('D', '10') ('S', '10') 8 8
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('S', '7') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', '3') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('D', '8') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('D', '8') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', '8') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', '8') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('S', '7') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('D', '3') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('C', '10') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('C', '10') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('C', '10') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('C', '10') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('C', '10') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', '8') card to be played by daynhauhoc
('C', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('S', '7') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('D', '3') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('C', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('C', '10') card to be played by daynhauhoc
('D', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('D', '8') card to be played by daynhauhoc
('C', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('S', '7') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('D', '3') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 11
computer cout: 41
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('C', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('S', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('C', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('D', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('D', 'K') card to be played by daynhauhoc
('C', 'K') card to be played by computer
war
('C', 'K') ('D', 'K') 11 11
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('C', '2') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('D', '10') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('D', '10') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 26
computer cout: 26
Both players play a card!


('D', '10') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 27
computer cout: 25
Both players play a card!


('D', '10') card to be played by daynhauhoc
('H', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 28
computer cout: 24
Both players play a card!


('D', '10') card to be played by daynhauhoc
('C', '4') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('D', '10') card to be played by daynhauhoc
('H', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('D', '10') card to be played by daynhauhoc
('D', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 31
computer cout: 21
Both players play a card!


('D', '10') card to be played by daynhauhoc
('D', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 30
computer cout: 22
Both players play a card!


('D', '6') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 29
computer cout: 23
Both players play a card!


('H', '6') card to be played by daynhauhoc
('D', '6') card to be played by computer
war
('D', '6') ('H', '6') 4 4
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('C', '8') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('C', '2') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('S', '10') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('S', '10') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('S', '10') card to be played by daynhauhoc
('C', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('C', '8') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('C', '2') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('S', '9') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('S', '9') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('S', '9') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('C', '8') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('C', '2') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('C', '7') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('C', '7') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('C', '2') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('D', '7') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('D', '7') card to be played by daynhauhoc
('C', '7') card to be played by computer
war
('C', '7') ('D', '7') 5 5
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('H', 'Q') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
war
('S', 'Q') ('H', 'Q') 10 10
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('S', 'J') card to be played by computer
war
('S', 'J') ('D', 'J') 9 9
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('D', '8') card to be played by daynhauhoc
('C', '8') card to be played by computer
war
('C', '8') ('D', '8') 6 6
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 10
computer cout: 42
Both players play a card!


('D', '5') card to be played by daynhauhoc
('C', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 9
computer cout: 43
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('D', '5') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 10
computer cout: 42
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('C', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 11
computer cout: 41
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 14
computer cout: 38
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('D', '3') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 15
computer cout: 37
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('S', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('D', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 19
computer cout: 33
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('C', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('D', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('S', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('H', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 24
computer cout: 28
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('C', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 25
computer cout: 27
Both players play a card!


('H', 'K') card to be played by daynhauhoc
('C', 'K') card to be played by computer
war
('C', 'K') ('H', 'K') 11 11
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 23
computer cout: 29
Both players play a card!


('S', 'J') card to be played by daynhauhoc
('D', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('D', '10') card to be played by daynhauhoc
('S', 'J') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('S', '6') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 20
computer cout: 32
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('S', '6') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 21
computer cout: 31
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('D', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 22
computer cout: 30
Both players play a card!


('D', 'J') card to be played by daynhauhoc
('S', 'J') card to be played by computer
war
('S', 'J') ('D', 'J') 9 9
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('D', '7') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('C', '8') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 18
computer cout: 34
Both players play a card!


('C', '8') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', '7') card to be played by daynhauhoc
('C', '8') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 16
computer cout: 36
Both players play a card!


('D', '8') card to be played by daynhauhoc
('D', '7') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 17
computer cout: 35
Both players play a card!


('D', '8') card to be played by daynhauhoc
('C', '8') card to be played by computer
war
('C', '8') ('D', '8') 6 6
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('D', '2') card to be played by daynhauhoc
('D', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('S', '9') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('S', '9') card to be played by daynhauhoc
('D', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('D', '2') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 11
computer cout: 41
Both players play a card!


('S', '10') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('S', '10') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 13
computer cout: 39
Both players play a card!


('S', '10') card to be played by daynhauhoc
('D', 'K') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('S', '9') card to be played by daynhauhoc
('S', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 11
computer cout: 41
Both players play a card!


('D', '2') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 10
computer cout: 42
Both players play a card!


('C', '10') card to be played by daynhauhoc
('D', '2') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 11
computer cout: 41
Both players play a card!


('C', '10') card to be played by daynhauhoc
('S', '9') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 12
computer cout: 40
Both players play a card!


('C', '10') card to be played by daynhauhoc
('S', '10') card to be played by computer
war
('S', '10') ('C', '10') 8 8
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 8
computer cout: 44
Both players play a card!


('C', '5') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 7
computer cout: 45
Both players play a card!


('H', '10') card to be played by daynhauhoc
('C', '5') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 8
computer cout: 44
Both players play a card!


('H', '10') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 7
computer cout: 45
Both players play a card!


('C', '5') card to be played by daynhauhoc
('H', '10') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 6
computer cout: 46
Both players play a card!


('H', '3') card to be played by daynhauhoc
('C', '5') card to be played by computer
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 5
computer cout: 47
Both players play a card!


('S', '3') card to be played by daynhauhoc
('H', '3') card to be played by computer
war
('H', '3') ('S', '3') 1 1
add a card to deck
It is time for a new round!
here are the current standings: 
daynhauhoc cout: 1
computer cout: 51
Both players play a card!


('S', '4') card to be played by daynhauhoc
('S', 'Q') card to be played by computer
add a card to deck
rounds were 262
wars were 18