projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update TODO
[vchess.git]
/
client
/
src
/
variants
/
Pawns.js
diff --git
a/client/src/variants/Pawns.js
b/client/src/variants/Pawns.js
index
83ccca7
..
1dca994
100644
(file)
--- a/
client/src/variants/Pawns.js
+++ b/
client/src/variants/Pawns.js
@@
-14,6
+14,8
@@
export class PawnsRules extends ChessRules {
return false;
}
+ scanKings() {}
+
static GenRandInitFen() {
return "8/pppppppp/8/8/8/8/PPPPPPPP/8 w 0 -";
}
@@
-36,4
+38,11
@@
export class PawnsRules extends ChessRules {
if (!this.atLeastOneMove()) return "1/2";
return "*";
}
+
+ postPlay() {}
+ postUndo() {}
+
+ static get SEARCH_DEPTH() {
+ return 4;
+ }
};