removed comments

This commit is contained in:
2025-10-29 18:50:06 +01:00
parent 4ae994b554
commit a4cdd72ac9
2 changed files with 0 additions and 22 deletions

View File

@@ -30,15 +30,3 @@ class Deck:
"""Removes the last card off the deck and returns it.""" """Removes the last card off the deck and returns it."""
card = self.cards.pop() card = self.cards.pop()
return card 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())

View File

@@ -32,13 +32,3 @@ class Hand:
if self.value > 21 and self.aces > 0: if self.value > 21 and self.aces > 0:
self.value -= 10 self.value -= 10
self.aces -= 1 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)