removed comments
This commit is contained in:
@@ -30,15 +30,3 @@ class Deck:
|
||||
"""Removes the last card off the deck and returns it."""
|
||||
card = self.cards.pop()
|
||||
return card
|
||||
|
||||
|
||||
# my_deck = Deck()
|
||||
# shuffled_deck = my_deck.shuffle()
|
||||
#
|
||||
# print(my_deck)
|
||||
#
|
||||
# new_card = my_deck.deal_card()
|
||||
# print("New card: \n")
|
||||
# print(str(new_card))
|
||||
#
|
||||
# print(new_card.get_value())
|
||||
|
||||
@@ -32,13 +32,3 @@ class Hand:
|
||||
if self.value > 21 and self.aces > 0:
|
||||
self.value -= 10
|
||||
self.aces -= 1
|
||||
|
||||
|
||||
# my_hand = Hand()
|
||||
#
|
||||
# my_hand.add_card(Card("diamond", "K"))
|
||||
# my_hand.add_card(Card("diamond", "8"))
|
||||
# my_hand.add_card(Card("diamond", "A"))
|
||||
#
|
||||
# print(my_hand.value)
|
||||
# print(my_hand.cards)
|
||||
|
||||
Reference in New Issue
Block a user