projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Berolina en passant
[vchess.git]
/
client
/
src
/
variants
/
Recycle.js
diff --git
a/client/src/variants/Recycle.js
b/client/src/variants/Recycle.js
index
d99228c
..
a234350
100644
(file)
--- a/
client/src/variants/Recycle.js
+++ b/
client/src/variants/Recycle.js
@@
-18,8
+18,8
@@
export const VariantRules = class RecycleRules extends ChessRules {
});
}
});
}
- static GenRandInitFen() {
- return ChessRules.GenRandInitFen() + " 0000000000";
+ static GenRandInitFen(
randomness
) {
+ return ChessRules.GenRandInitFen(
randomness
) + " 0000000000";
}
getFen() {
}
getFen() {
@@
-74,7
+74,7
@@
export const VariantRules = class RecycleRules extends ChessRules {
}
// Used by the interface:
}
// Used by the interface:
- getReservePpath(
color, index
) {
+ getReservePpath(
index, color
) {
return color + V.RESERVE_PIECES[index];
}
return color + V.RESERVE_PIECES[index];
}