We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7888039 + 226ce21 commit cb011a5Copy full SHA for cb011a5
src/games/churn.ts
@@ -471,7 +471,7 @@ export class ChurnGame extends GameBase {
471
472
// eslint-disable-next-line @typescript-eslint/no-unused-vars
473
protected sameMove(move1: string, move2: string): boolean {
474
- return true;
+ return move1.toLowerCase().replace(/\s+/g, "") === move2.toLowerCase().replace(/\s+/g, "");
475
}
476
477
public clone(): ChurnGame {
0 commit comments