projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo
[vchess.git]
/
client
/
src
/
variants
/
Checkless.js
diff --git
a/client/src/variants/Checkless.js
b/client/src/variants/Checkless.js
index
b304a48
..
63c35c6
100644
(file)
--- a/
client/src/variants/Checkless.js
+++ b/
client/src/variants/Checkless.js
@@
-1,6
+1,7
@@
import { ChessRules } from "@/base_rules";
export class ChecklessRules extends ChessRules {
import { ChessRules } from "@/base_rules";
export class ChecklessRules extends ChessRules {
+
// Cannot use super.atLeastOneMove: lead to infinite recursion
atLeastOneMove_aux() {
const color = this.turn;
// Cannot use super.atLeastOneMove: lead to infinite recursion
atLeastOneMove_aux() {
const color = this.turn;
@@
-45,4
+46,5
@@
export class ChecklessRules extends ChessRules {
static get SEARCH_DEPTH() {
return 2;
}
static get SEARCH_DEPTH() {
return 2;
}
+
};
};