generated from PlexSheep/rs-base
parent
b33038cc50
commit
4993e70309
|
@ -33,11 +33,7 @@ impl GuessResponse {
|
|||
let finish: bool = if game.step() > game.max_steps() {
|
||||
true
|
||||
} else {
|
||||
let mut matched = true;
|
||||
for p in &status {
|
||||
matched &= p.1 == Status::Matched;
|
||||
}
|
||||
matched
|
||||
guess == game.solution().0
|
||||
};
|
||||
Self {
|
||||
guess,
|
||||
|
|
Loading…
Reference in New Issue