public GameController() { Random temp = new Random(); _model = new LetterModel(woorden[temp.Next(0,woorden.Count-1)]); this._view = new GameView(this); this._input = new InputController(this._model); }
public InputView(InputController i, LetterModel m) { InitializeComponent(); this.model = m; this.controller = i; foreach (char item in model.Woord.ToCharArray()) { hiddenWord += "_ "; } }