Skip to content

Commit

Permalink
Print color code in simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
noeddl committed Jun 20, 2022
1 parent 9faaee9 commit 467f41b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ fn simulate(start: &Word, target: &Word) -> Option<usize> {
}

let color_code = w.match_code(target);
debug!("Wordle hint: {}", color_code);

let constraints = ConstraintSet::try_from((w.to_string().as_ref(), color_code.as_ref()));

Expand Down

0 comments on commit 467f41b

Please sign in to comment.