Differences From Artifact [2d4705e7ff103283]:
- File
solver.d
- 2012-07-14 08:58:14 - part of checkin [52e6fbcc8d] on branch trunk - Add solver.d!!! (user: kinaba) [annotate]
To Artifact [42db89cb5c63a7bd]:
- File
src/solver.d
- 2012-07-14 09:16:47 - part of checkin [6293256fec] on branch trunk - Preparing for submission... (user: kinaba) [annotate]
92 q = q2; 92 q = q2;
93 } 93 }
94 return tuple('W', int.max); 94 return tuple('W', int.max);
95 } 95 }
96 96
97 void main(string[] args) 97 void main(string[] args)
98 { 98 {
99 auto g = Game.load(File(args[1])); | 99 auto g = Game.load(stdin);
100 g.set_output(new GuardedOutput(g)); 100 g.set_output(new GuardedOutput(g));
101 101
102 while(!g.dead && !g.cleared) 102 while(!g.dead && !g.cleared)
103 act(g); 103 act(g);
104 } 104 }