projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
White eye for the mammoth (was transparent)
[vchess.git]
/
client
/
src
/
variants
/
Hamilton.js
diff --git
a/client/src/variants/Hamilton.js
b/client/src/variants/Hamilton.js
index
8c3a1bd
..
6794e72
100644
(file)
--- a/
client/src/variants/Hamilton.js
+++ b/
client/src/variants/Hamilton.js
@@
-10,10
+10,18
@@
export class HamiltonRules extends ChessRules {
return false;
}
+ get showFirstTurn() {
+ return true;
+ }
+
static get HOLE() {
return "xx";
}
+ hoverHighlight(x, y) {
+ return this.movesCount == 0;
+ }
+
static board2fen(b) {
if (b[0] == 'x') return 'x';
return ChessRules.board2fen(b);