projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add New Zealand Chess
[vchess.git]
/
client
/
src
/
variants
/
Tencubed.js
diff --git
a/client/src/variants/Tencubed.js
b/client/src/variants/Tencubed.js
index
99bff13
..
af48977
100644
(file)
--- a/
client/src/variants/Tencubed.js
+++ b/
client/src/variants/Tencubed.js
@@
-3,6
+3,7
@@
import { ArrayFun } from "@/utils/array";
import { shuffle } from "@/utils/alea";
export class TencubedRules extends ChessRules {
import { shuffle } from "@/utils/alea";
export class TencubedRules extends ChessRules {
+
static get PawnSpecs() {
return Object.assign(
{},
static get PawnSpecs() {
return Object.assign(
{},
@@
-206,11
+207,11
@@
export class TencubedRules extends ChessRules {
isAttackedByArchbishop(sq, color) {
return (
isAttackedByArchbishop(sq, color) {
return (
- this.isAttackedBySlideNJump(sq, color, V.
CARDINAL
, V.steps[V.BISHOP]) ||
+ this.isAttackedBySlideNJump(sq, color, V.
ARCHBISHOP
, V.steps[V.BISHOP]) ||
this.isAttackedBySlideNJump(
sq,
color,
this.isAttackedBySlideNJump(
sq,
color,
- V.
CARDINAL
,
+ V.
ARCHBISHOP
,
V.steps[V.KNIGHT],
"oneStep"
)
V.steps[V.KNIGHT],
"oneStep"
)
@@
-242,4
+243,5
@@
export class TencubedRules extends ChessRules {
{ c: 4, w: 3, a: 6, m: 8 }
);
}
{ c: 4, w: 3, a: 6, m: 8 }
);
}
+
};
};