Differences From Artifact [b38d60ea39d11e6e]:
- File
src/cui_auto_main.d
- 2012-07-14 16:39:50 - part of checkin [fec7ddc502] on branch trunk - Refactoring for ease of changine main solver. (user: kinaba) [annotate]
- 2012-07-15 11:26:58 - part of checkin [bd650eb3f9] on branch trunk - Output is now fully functional. (user: kinaba) [annotate]
To Artifact [80ad58f91e39ad66]:
- File
src/cui_auto_main.d
- 2012-07-15 11:17:59 - part of checkin [ff0ab77d3d] on branch trunk - new game class. (user: kinaba) [annotate]
14 fin = finished; 14 fin = finished;
15 } 15 }
16 } 16 }
17 17
18 void main(string[] args) 18 void main(string[] args)
19 { 19 {
20 Driver d = new Driver(stdin); 20 Driver d = new Driver(stdin);
21 d.addObserver!(GuardedOutput)(); | 21 // d.addObserver!(GuardedOutput)();
> 22 d.addObserver!(StdOutput)();
22 auto c = d.addObserver!(CUI!MainSolver)(); | 23 // auto c = d.addObserver!(CUI!MainSolver)();
> 24 auto c = d.addObserver!(CUI!Solver_0)();
23 while(!c.fin) 25 while(!c.fin)
24 d.command(c.solver.single_step()); 26 d.command(c.solver.single_step());
25 } 27 }