Advertisement
Guest User

Blackjack 1

a guest
Dec 1st, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. import java.util.ArrayList;
  2. public class Blackjack {
  3.  
  4. public static void main(String[] args) {
  5. //Welcoming Player Message
  6. System.out.println("Welcome to Blackjack!");
  7.  
  8. //Create the player's playing deck
  9. CardPile playingDeck = CardPile.makeFullDeck();
  10. System.out.println(playingDeck.toString());
  11.  
  12. }
  13.  
  14.  
  15.  
  16.  
  17. public static int getScore(Card score){
  18. for(int i=1; i<=13; i++){
  19. if(score.getValue() == JACK);
  20.  
  21.  
  22. }
  23. int x = 2;
  24. score.getValue();
  25. return x;
  26.  
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement