Esempio 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);
        }
Esempio n. 2
0
 public Challenge(HostSentence hostSentence, List <Position> solution)
 {
     this.hostSentence = hostSentence;
     this.solution     = solution;
 }