We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61f19f0 commit c62bea3Copy full SHA for c62bea3
src/games/arimaa.ts
@@ -894,7 +894,10 @@ export class ArimaaGame extends GameBase {
894
}
895
896
// clear hands when both are empty
897
- if (this.hands !== undefined && this.hands[0].length === 0 && this.hands[1].length === 0) {
+ if (
898
+ (this.hands !== undefined && this.hands[0].length === 0 && this.hands[1].length === 0) ||
899
+ (this.variants.includes("free") && this.stack.length ===2)
900
+ ) {
901
this.hands = undefined;
902
903
0 commit comments