projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace news by FAQ
[vchess.git]
/
client
/
src
/
variants
/
Hamilton.js
diff --git
a/client/src/variants/Hamilton.js
b/client/src/variants/Hamilton.js
index
8c3a1bd
..
08994e3
100644
(file)
--- a/
client/src/variants/Hamilton.js
+++ b/
client/src/variants/Hamilton.js
@@
-14,6
+14,10
@@
export class HamiltonRules extends ChessRules {
return "xx";
}
+ hoverHighlight(x, y) {
+ return this.movesCount == 0;
+ }
+
static board2fen(b) {
if (b[0] == 'x') return 'x';
return ChessRules.board2fen(b);