projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few bugs fixes
[vchess.git]
/
client
/
src
/
variants
/
Sittuyin.js
diff --git
a/client/src/variants/Sittuyin.js
b/client/src/variants/Sittuyin.js
index
aae1890
..
0ddf74c
100644
(file)
--- a/
client/src/variants/Sittuyin.js
+++ b/
client/src/variants/Sittuyin.js
@@
-10,12
+10,26
@@
export class SittuyinRules extends ChessRules {
return false;
}
return false;
}
+ static get Monochrome() {
+ return true;
+ }
+
+ static get Notoodark() {
+ return true;
+ }
+
+ static get Lines() {
+ return ChessRules.Lines.concat([
+ [[0, 0], [8, 8]],
+ [[0, 8], [8, 0]]
+ ]);
+ }
+
static get PawnSpecs() {
return Object.assign(
{},
ChessRules.PawnSpecs,
{
static get PawnSpecs() {
return Object.assign(
{},
ChessRules.PawnSpecs,
{
- twoSquares: false,
// Promotions are handled differently here
promotions: [V.QUEEN]
}
// Promotions are handled differently here
promotions: [V.QUEEN]
}