projects
/
xogo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Untested draft refactor both/moves/attack for pieces specs
[xogo.git]
/
variants
/
Hex
/
class.js
diff --git
a/variants/Hex/class.js
b/variants/Hex/class.js
index
b82af41
..
774de17
100644
(file)
--- a/
variants/Hex/class.js
+++ b/
variants/Hex/class.js
@@
-78,7
+78,7
@@
export default class HexRules extends AbstractClickFillRules {
// NOTE: size.x == size.y (square boards)
const emptyCount = C.FenEmptySquares(this.size.x);
return {
- fen: (emptyCount + "/").repeat(this.size.x
).slice(0, -1) + " w 0"
,
+ fen: (emptyCount + "/").repeat(this.size.x
- 1) + emptyCount
,
o: {}
};
}