Skip to content

Commit

Permalink
feat: fix bug and add hints_1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyFastCoder2 committed Sep 25, 2024
1 parent 3f0e2c1 commit b3df363
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/games/Matrix/logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,13 @@ export function checkMove (target, state) {
}
}


if(successes === state.sequence.curr) {
resault = "WIN";
}

if(fails >= getMaxFails(state.sequence.curr, state.maxFails)) {
resault = "LOSE";
}



return resault;
}

0 comments on commit b3df363

Please sign in to comment.