static void Main(string[] args) { var random = new Random(); GuessModel m = new GuessModel(random.Next(1, 101)); View v = new View(new RealConsole(), m); Controller c = new Controller(v, m); c.ActionController(); }
public View(IConsole console, GuessModel gm) { this.console = console; this.model = gm; }
public Controller(View v, GuessModel m) { this.view = v; this.model = m; }