projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Knightrelay1. Some fixes. Move odd 'isAttackedBy_multiple_colors' to Checkered...
[vchess.git]
/
client
/
src
/
variants
/
Arena.js
diff --git
a/client/src/variants/Arena.js
b/client/src/variants/Arena.js
index
9ccd3cc
..
620b980
100644
(file)
--- a/
client/src/variants/Arena.js
+++ b/
client/src/variants/Arena.js
@@
-1,14
+1,12
@@
import { ChessRules } from "@/base_rules";
export const VariantRules = class ArenaRules extends ChessRules {
import { ChessRules } from "@/base_rules";
export const VariantRules = class ArenaRules extends ChessRules {
- static get
h
asFlags() {
+ static get
H
asFlags() {
return false;
}
static GenRandInitFen(randomness) {
return false;
}
static GenRandInitFen(randomness) {
- return ChessRules
- .GenRandInitFen(randomness)
- .replace("w 0 1111 -", "w 0 -");
+ return ChessRules.GenRandInitFen(randomness).slice(0, -6) + "-";
}
static InArena(x) {
}
static InArena(x) {