Skip to content

Commit

Permalink
Create Program.java
Browse files Browse the repository at this point in the history
  • Loading branch information
RonaZong committed Oct 22, 2020
1 parent 6e0968b commit 8aff643
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 1DV607/src/BlackJack/Program.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package BlackJack;

import BlackJack.Controller.PlayGame;
import BlackJack.Model.Game;
import BlackJack.View.IView;
import BlackJack.View.SimpleView;

public class Program {
public static void main(String[] args) {
Game g = new Game();
IView v = new SimpleView(); //new SwedishView();
PlayGame ctrl = new PlayGame();

while (ctrl.Play(g, v));
}
}

0 comments on commit 8aff643

Please sign in to comment.