commit 04448e38013e2dc5cedea234c9be5d6ad1592f65 parent 7e124d3a38101e8ebc9304aaff3428bb69dc23ec Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com> Date: Sat, 8 Oct 2022 09:39:02 +0200 update Main.java Diffstat:
| M | src/view/Main.java | | | 26 | +++++--------------------- |
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/src/view/Main.java b/src/view/Main.java @@ -1,33 +1,18 @@ package view; import controller.Controller; -import model.Card; -import model.Deck; -import model.Card.Rank; -import model.Card.Suit; +import model.Dealer; /** * @author Michael */ public class Main { - + public static void main(String[] args) { System.out.println("Welcome to LIBREJACK!"); - + Controller blackjack = new Controller(); - //Make some cards and a deck - Deck testDeck = new Deck(); - Card aCard = new Card(Suit.CLUBS, Rank.QUEEN); - Card bCard = new Card(Suit.DIAMONDS,Rank.ACE); - Card cCard = new Card(Suit.SPADES, Rank.SIX); - //Add the cards to the deck - testDeck.addCard(aCard); - testDeck.addCard(bCard); - testDeck.addCard(cCard); - //Print out the deck - System.out.println(testDeck); - } - -} -\ No newline at end of file + } +}