title: Create Player class/variable for blackjack
body: <p>Relatively new to <code>Java</code>, and I love it so far, but am stuck on an assignment. I have to create a <strong>blackjack game</strong>, (I've gone through multiple Google searches already) and am having trouble with creating a Player1 and Player2. I created the card <code>class</code> already. I need to deal a card to player one, ask him/her if they would like another (I have the loop for that), and add the cards together. Same for Player2. This is where I am stuck, my Card Class includes a <code>draw()</code> which should deal out the cards.</p>
  
  <pre><code>import java.util.Random;
  import java.util.Scanner;
  
  public class Game
  {
  
  
  
      public static void main(String[] args)
      {
          int Player1 = 0, Sum1, Player2 = 0, Sum2;//Sums used to keep running total of cards Players have
  
          Card[] cards = new Cards[52];
  
  
  
  
         }
  
      //sample of loop I would use to ask if they would like another card
      do
      {
  
  
      System.out.println("Would you like to draw another card?");
      answer = input.nextLine();
  
  
      }while(answer.equals("Yes"));
  
  
      }
  
      //Card class with draw() at the bottom
          class Card{ 
  
      private int Spades = 0, Hearts = 1, Diamonds = 2, Clubs = 3;
  
      private int Ace = 1, Jack = 11, Queen = 12, King = 13;
  
  
          private int face_value;
  
          public Card(){
              face_value = 1;
      }
      public void setFacevalue(int value){
  
          face_value = value;
      }
      public int getFacevalue(){
  
              return face_value;
      }
      public int draw(){
  
          Random ran = new Random();
              face_value = ran.nextInt(13)+1;
          return face_value;
      }
  }
  
  }
  </code></pre>