Skip to content

Commit

Permalink
Update Mainpp.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sthakulla authored Jun 7, 2018
1 parent ab6f2d6 commit c4a24c2
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions Mainpp.java
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);

}

}

0 comments on commit c4a24c2

Please sign in to comment.