Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *
- * @author Weronika Jasiak
- *
- */
- public class Main {
- public static void main(String[] args) {
- Deck deck = new Deck();
- //
- Card X;
- if(deck.getCards() != 0) {
- System.out.println("Deck of " + deck.getCards() + " cards");
- X = deck.shuffle();
- System.out.println(X.toString());
- }
- else {
- System.out.println("Try again!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement