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