projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Draft Eightpieces rules. Fix display: PNG images + promotions on 2 lines
[vchess.git]
/
client
/
src
/
variants
/
Grasshopper.js
diff --git
a/client/src/variants/Grasshopper.js
b/client/src/variants/Grasshopper.js
index
416f632
..
82caa9f
100644
(file)
--- a/
client/src/variants/Grasshopper.js
+++ b/
client/src/variants/Grasshopper.js
@@
-139,7
+139,7
@@
export const VariantRules = class GrasshopperRules extends ChessRules {
static GenRandInitFen(randomness) {
return ChessRules.GenRandInitFen(randomness)
- .
replace("w 0 1111 -", "w 0 1111"
)
+ .
slice(0, -2
)
.replace(
"/pppppppp/8/8/8/8/PPPPPPPP/",
"/gggggggg/pppppppp/8/8/PPPPPPPP/GGGGGGGG/"