-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
|
||
import java.util.ArrayList; | ||
import java.util.Scanner; | ||
|
||
|
||
public class Mainpp { | ||
|
||
|
||
public static ArrayList<Game> gameList = new ArrayList<Game>(); | ||
import java.util.LinkedList; | ||
|
||
public static int opt1,opt2 = 0; | ||
|
||
|
||
public static void main(String[] args) { | ||
|
||
gameList.add(new Game("1",50, 5000)); | ||
gameList.add(new Game("2", 500, 10000)); | ||
import java.util.Queue; | ||
|
||
import java.util.Scanner; | ||
|
||
public class Mainpp { | ||
|
||
Player p1 = new Player( 500); | ||
Implementation.waitingPlayers.offer(p1); //experimenting not important | ||
public static ArrayList<Game> gameList = new ArrayList<Game>(); | ||
|
||
public static int opt1; | ||
|
||
Scanner scan= new Scanner(System.in); | ||
public static void main(String[] args) { | ||
|
||
Implementation.implement(scan); | ||
gameList.add(new Game("3", 50, 5000)); | ||
|
||
} | ||
gameList.add(new Game("2", 50, 10000)); | ||
|
||
Player p1 = new NormalPlayer(5000); | ||
|
||
Player p2= new NormalPlayer(8600); | ||
FileReader kite= new FileReader(); | ||
kite.loadGameFile(); | ||
kite.getAllPlayersFromFile(); | ||
|
||
|
||
Implementation.waitingPlayers.offer(p1); // experimenting not important | ||
Implementation.waitingPlayers.offer(p2); | ||
|
||
Scanner scan = new Scanner(System.in); | ||
|
||
Implementation.implement(scan); | ||
|
||
} | ||
|
||
} |