问题:Design black jack?

Classes:

  • Card

    • Rank: value of the card
    • Suit: Club, Diamond, Heart, Spade
  • Hand (player or dealer)

    • Cards: array of current cards
    • addCard
    • getValue: score of the hand
  • Deck

    • Cards
    • shuffle
    • sendCard
  • Game

    • deck
    • player
    • dealer
    • in

results matching ""

    No results matching ""