-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClientCode.java
More file actions
45 lines (37 loc) · 899 Bytes
/
Copy pathClientCode.java
File metadata and controls
45 lines (37 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import java.util.*;
public class ClientCode
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
Player player = new Player();
GameStart game = new GameStart(player);
System.out.println("\n\t\t\t\tPress ENTER to continue.");
scan.nextLine();
/*System.out.print("[0]Create PLayer, [1]Initialize Player By Default\n");
System.out.print("Choice: ");
int choice = scan.nextInt();
switch(choice)
{
case 0:
game.initializePlayerThroughUserInput();
break;
case 1:
game.initializePlayerByDefault();
break;
}*/
//player.playerDetails();
game.loading();
System.out.println("Encounter with Town Elder Walter");
//game.loading();
//game.walterEncounter();
int x=1;
x = game.afterWalterEncounter();
game.choicesForAfterWalterEncounter(x);
game.loading();
if(x==0)
{
player.mapWidened();
}
}
}