Diff
Not logged in

Differences From Artifact [a0394f9b9692c1eb]:

To Artifact [d3f73764386d7688]:


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