Exemplo n.º 1
0
        private Challenge PlaceHostSentenceInBoard(HostSentence sentence, int minLegLength, int maxLegLength)
        {
            this.board.Clear(true);

            var positionsInBoard = PlaceText(sentence.ObfuscatedSentence, minLegLength, maxLegLength);

            this.currentChallenge = new Challenge(sentence, positionsInBoard);

            return(this.currentChallenge.Value);
        }
Exemplo n.º 2
0
 public Challenge(HostSentence hostSentence, List <Position> solution)
 {
     this.hostSentence = hostSentence;
     this.solution     = solution;
 }