Skip to content

Commit cb011a5

Browse files
committed
Merge branch 'develop' of https://github.com/AbstractPlay/gameslib into develop
2 parents 7888039 + 226ce21 commit cb011a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/games/churn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ export class ChurnGame extends GameBase {
471471

472472
// eslint-disable-next-line @typescript-eslint/no-unused-vars
473473
protected sameMove(move1: string, move2: string): boolean {
474-
return true;
474+
return move1.toLowerCase().replace(/\s+/g, "") === move2.toLowerCase().replace(/\s+/g, "");
475475
}
476476

477477
public clone(): ChurnGame {

0 commit comments

Comments
 (0)