projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add comment about clock update in Game.vue
[vchess.git]
/
client
/
src
/
variants
/
Monochrome.js
diff --git
a/client/src/variants/Monochrome.js
b/client/src/variants/Monochrome.js
index
7264775
..
b17b6f1
100644
(file)
--- a/
client/src/variants/Monochrome.js
+++ b/
client/src/variants/Monochrome.js
@@
-6,6
+6,14
@@
export class MonochromeRules extends ChessRules {
return false;
}
+ static get Lines() {
+ return [ [[4, 0], [4, 8]] ];
+ }
+
+ get showFirstTurn() {
+ return true;
+ }
+
static IsGoodPosition(position) {
if (position.length == 0) return false;
const rows = position.split("/");