-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.java
43 lines (29 loc) · 860 Bytes
/
Main.java
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
import java.io.*;
import java.util.ArrayList;
public class Main {
public static PrintWriter writer = null;
public static PrintWriter stats = null;
public static void main(String[] args) {
/*String fileName = "rawData.txt";
try {
writer = new PrintWriter(fileName);
stats = new PrintWriter(new BufferedWriter(new FileWriter("stats.txt", true)));
}
catch(FileNotFoundException e)
{
System.out.println(e.getMessage());
}
catch (IOException e)
{
}*/
int loopSize = 1;
for (int i = 0; i< loopSize; i++) {
Game game = new Game();
game.play(i, loopSize);
}
/*writer.close();
Statistics.generate(fileName);
Main.stats.println();
stats.close();*/
}
}