public BoardView(PlayController playController)
 {
     this._playController          = playController;
     this._secretCombinationView   = new SecretCombinationView(this._playController);
     this._proposedCombinationView = new ProposedCombinationView(this._playController);
     this._resultView = new ResultView(this._playController);
 }
 public void Interact()
 {
     do
     {
         ProposedCombinationView proposedCombinationView = new ProposedCombinationView(this._playController);
         this._playController.AddProposedCombination(proposedCombinationView.Read());
         this._boardView.Write();
     } while (!this._playController.IsFinished());
 }
 public void Interact()
 {
     do
     {
         ProposedCombinationView proposedCombinationView = new ProposedCombinationView(this._logic);
         this._logic.AddProposedCombination(proposedCombinationView.Read());
         this._boardView.Write();
     } while (!this._logic.IsFinished());
 }
Example #4
0
        public void Interact(PlayController playController)
        {
            do
            {
                ProposedCombinationView proposedCombinationView = new ProposedCombinationView(playController);
                playController.AddProposedCombination(proposedCombinationView.Read());
                new BoardView(playController).Write();
            } while (!playController.IsFinished());

            playController.Next();
        }
Example #5
0
 public void Interact()
 {
     do
     {
         ProposedCombination     proposedCombination     = new ProposedCombination();
         ProposedCombinationView proposedCombinationView = new ProposedCombinationView(proposedCombination);
         proposedCombinationView.Read();
         this.Board.AddProposedCombination(proposedCombination);
         this._boardView.Write();
     } while (!this.Board.IsFinished());
 }
 public BoardView(Logic logic) : base(logic)
 {
     this._secretCombinationView   = new SecretCombinationView(this._logic);
     this._proposedCombinationView = new ProposedCombinationView(this._logic);
     this._resultView = new ResultView(this._logic);
 }