projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Almost finished problems logic. TODO: showProblem() part
[vchess.git]
/
public
/
javascripts
/
variants
/
Grand.js
diff --git
a/public/javascripts/variants/Grand.js
b/public/javascripts/variants/Grand.js
index
f5ae065
..
cafdada
100644
(file)
--- a/
public/javascripts/variants/Grand.js
+++ b/
public/javascripts/variants/Grand.js
@@
-18,6
+18,10
@@
class GrandRules extends ChessRules
static get MARSHALL() { return 'm'; } //rook+knight
static get CARDINAL() { return 'c'; } //bishop+knight
static get MARSHALL() { return 'm'; } //rook+knight
static get CARDINAL() { return 'c'; } //bishop+knight
+ static get PIECES() {
+ return ChessRules.PIECES.concat([V.MARSHALL,V.CARDINAL]);
+ }
+
// En-passant after 2-sq or 3-sq jumps
getEpSquare(move)
{
// En-passant after 2-sq or 3-sq jumps
getEpSquare(move)
{