set state

This commit is contained in:
Михаил Капелько
2026-06-04 18:29:54 +03:00
parent fd45f1a2bb
commit 2e0597d4a4
2 changed files with 9 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ extension WordUtils on Word {
/// but where each [Letter] has new a [HitType] of
/// [HitType.hit], [HitType.partial], or [HitType.miss].
Word evaluateGuess(Word hiddenWord) {
assert(isLegalGuess);
//assert(isLegalGuess);
final result = List<Letter>.filled(length, (char: '', type: HitType.none));
// Counts hidden-word letters that can still be claimed as partial matches.