|
@ -18,6 +18,13 @@ public class runGame { |
|
|
try { |
|
|
try { |
|
|
reader = new BufferedReader(new FileReader(Path)); |
|
|
reader = new BufferedReader(new FileReader(Path)); |
|
|
String line = reader.readLine(); |
|
|
String line = reader.readLine(); |
|
|
|
|
|
int i = 0; |
|
|
|
|
|
while (line != null) { |
|
|
|
|
|
Arr[i] = line; |
|
|
|
|
|
line = reader.readLine(); |
|
|
|
|
|
i++; |
|
|
|
|
|
} |
|
|
|
|
|
reader.close(); |
|
|
} catch (IOException e) { |
|
|
} catch (IOException e) { |
|
|
e.printStackTrace(); |
|
|
e.printStackTrace(); |
|
|
} |
|
|
} |
|
|