projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Almost added TitanChess + EvolutionChess
[vchess.git]
/
client
/
src
/
variants
/
Dynamo.js
diff --git
a/client/src/variants/Dynamo.js
b/client/src/variants/Dynamo.js
index
dbc19c2
..
67065d7
100644
(file)
--- a/
client/src/variants/Dynamo.js
+++ b/
client/src/variants/Dynamo.js
@@
-2,6
+2,7
@@
import { ChessRules, Move, PiPo } from "@/base_rules";
import { randInt } from "@/utils/alea";
export class DynamoRules extends ChessRules {
import { randInt } from "@/utils/alea";
export class DynamoRules extends ChessRules {
+
// TODO? later, allow to push out pawns on a and h files
static get HasEnpassant() {
return false;
// TODO? later, allow to push out pawns on a and h files
static get HasEnpassant() {
return false;
@@
-873,4
+874,5
@@
export class DynamoRules extends ChessRules {
return initialSquare + "R";
return move.appear[0].p.toUpperCase() + initialSquare + finalSquare;
}
return initialSquare + "R";
return move.appear[0].p.toUpperCase() + initialSquare + finalSquare;
}
+
};
};