title: BlackJack Game Running Score Counter
body: <p>I'm tasked with building a blackjack game for a Python class I'm taking. The goal is to use as much OOP as possible. I know my code is kind of messy (sorry in advance). I'm having trouble creating a score counter based on the values of the two cards given to both the dealer and the player (never mind the issues with Ace being 1 or 11; I'll cross that bridge later). Basically, based on the two cards that the player draws and the dealer draws, I want the score counter two add the values of the to cards together and store the values in <em>playerscore</em> and <em>dealerscore</em>. Any help is appreciated.</p>
  
  <pre><code>import random
  
  class Card(object):
      def __init__(self,suit,value):
          self.suit = suit
          self.value = value
      def show(self):
          if self.value==1:
              print("{} of {}".format('A', self.suit))
          elif self.value==11:
              print("{} of {}".format('J', self.suit))
          elif self.value==12:
              print("{} of {}".format('Q', self.suit))
          elif self.value==13:
              print("{} of {}".format('K', self.suit))
          else:
              print("{} of {}".format(self.value,self.suit))
  
  class Deck(object):
      def __init__(self):
          self.cards = []
          self.build()
      def build(self):
          for suit in ("Spades","Clubs","Diamonds","Hearts"):
              for value in range(1,14):
                  self.cards.append(Card(suit,value))
      def show(self):
          for card in self.cards:
              card.show()
      def shuffle(self):
          random.shuffle(self.cards)
      def drawCard(self):
          return self.cards.pop()
  
  class Player(object):
      def __init__(self):
          self.hand = []
      def draw(self,deck):
          for num in range(1,3):
              self.hand.append(deck.drawCard())
      def showHand(self):
          for card in self.hand:
              card.show()
  
  class Dealer(object):
      def __init__(self):
          self.hand = []
      def draw(self,deck):
          for num in range(1,3):
              self.hand.append(deck.drawCard())
  
  playerscore = 0
  dealerscore = 0
  
  deck = Deck()
  deck.shuffle()
  player = Player()
  player.draw(deck)
  player.showHand()
  dealer = Dealer()
  dealer.draw(deck)
  
  playerscore += ?????
  dealerscore += ?????
  </code></pre>