Diff
Not logged in

Differences From Artifact [a0394f9b9692c1eb]:

To Artifact [d3f73764386d7688]:


2 import game; 2 import game; 3 import output; 3 import output; 4 import driver; 4 import driver; 5 import solver; 5 import solver; 6 6 7 class CUI(Solver) : GameObserver 7 class CUI(Solver) : GameObserver 8 { 8 { 9 this(const(Game) g) { < 10 solver = new Solver(g); | 9 this(in Game g) { solver = new Solver(g); } 11 } < 12 Solver solver; 10 Solver solver; 13 bool fin; 11 bool fin; 14 override void on_game_changed(char c, const(Game) g, bool finished) 12 override void on_game_changed(char c, const(Game) g, bool finished) 15 { 13 { 16 fin = finished; 14 fin = finished; 17 } 15 } 18 } 16 }