projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0b908bd
)
Fix Yurt movements in Orda chess
author
Benjamin Auder
<benjamin.auder@somewhere>
Thu, 26 Mar 2020 11:45:35 +0000
(12:45 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Thu, 26 Mar 2020 11:45:35 +0000
(12:45 +0100)
client/src/translations/rules/Orda/en.pug
patch
|
blob
|
blame
|
history
client/src/translations/rules/Orda/es.pug
patch
|
blob
|
blame
|
history
client/src/translations/rules/Orda/fr.pug
patch
|
blob
|
blame
|
history
client/src/variants/Orda.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/translations/rules/Orda/en.pug
b/client/src/translations/rules/Orda/en.pug
index
9539645
..
2f63d04
100644
(file)
--- a/
client/src/translations/rules/Orda/en.pug
+++ b/
client/src/translations/rules/Orda/en.pug
@@
-256,7
+256,7
@@
p.
The game is still young, so strategy is still being developed!
Much of the data is currently based on Engine play.
The Horde cannot castle. However, a very fundamental component of a
The game is still young, so strategy is still being developed!
Much of the data is currently based on Engine play.
The Horde cannot castle. However, a very fundamental component of a
- majority Horde openings is to move the Khan to
f
7.
+ majority Horde openings is to move the Khan to
g
7.
Reaching this spot in within the first four moves is ideal
— in fact, Fairy Stockfish opened up with Kf7 in 56% of its games.
The rest is variable.
Reaching this spot in within the first four moves is ideal
— in fact, Fairy Stockfish opened up with Kf7 in 56% of its games.
The rest is variable.
diff --git
a/client/src/translations/rules/Orda/es.pug
b/client/src/translations/rules/Orda/es.pug
index
4c684a6
..
7f5ab78
100644
(file)
--- a/
client/src/translations/rules/Orda/es.pug
+++ b/
client/src/translations/rules/Orda/es.pug
@@
-256,7
+256,7
@@
h3 Estrategia
p.
La variante aún es joven, por lo que la estrategia aún no se ha escrito.
Gran parte de los datos actuales provienen de partes de la computadora.
p.
La variante aún es joven, por lo que la estrategia aún no se ha escrito.
Gran parte de los datos actuales provienen de partes de la computadora.
- La Horda no puede enrocarse, pero observamos que colocar el khan en
f
7
+ La Horda no puede enrocarse, pero observamos que colocar el khan en
g
7
en los primeros cuatro movimientos asegura igualmente al rey.
De hecho, Fairy Stockfish comienza con esta jugada en el 56% de los casos.
El resto es variable.
en los primeros cuatro movimientos asegura igualmente al rey.
De hecho, Fairy Stockfish comienza con esta jugada en el 56% de los casos.
El resto es variable.
diff --git
a/client/src/translations/rules/Orda/fr.pug
b/client/src/translations/rules/Orda/fr.pug
index
211fa71
..
a39264b
100644
(file)
--- a/
client/src/translations/rules/Orda/fr.pug
+++ b/
client/src/translations/rules/Orda/fr.pug
@@
-258,7
+258,7
@@
h3 Stratégie
p.
La variante est encore jeune, donc la stratégie reste à écrire !
Beaucoup des données actuelles proviennent de parties de l'ordinateur.
p.
La variante est encore jeune, donc la stratégie reste à écrire !
Beaucoup des données actuelles proviennent de parties de l'ordinateur.
- La Horde ne peut pas roquer, mais on observe que placer le khan en
f
7
+ La Horde ne peut pas roquer, mais on observe que placer le khan en
g
7
dans les quatre premiers coups met le roi en sécurité de manière similaire.
En fait, Fairy Stockfish commence par ce coup dans 56% des cas.
Le reste est variable.
dans les quatre premiers coups met le roi en sécurité de manière similaire.
En fait, Fairy Stockfish commence par ce coup dans 56% des cas.
Le reste est variable.
diff --git
a/client/src/variants/Orda.js
b/client/src/variants/Orda.js
index
4d911f4
..
f1bfc91
100644
(file)
--- a/
client/src/variants/Orda.js
+++ b/
client/src/variants/Orda.js
@@
-212,8
+212,8
@@
export class OrdaRules extends ChessRules {
getPotentialYurtMoves(sq) {
return this.getSlideNJumpMoves(
sq,
getPotentialYurtMoves(sq) {
return this.getSlideNJumpMoves(
sq,
- V.steps[V.BISHOP].concat([
1, 0
]),
- "oneS
T
ep"
+ V.steps[V.BISHOP].concat([
[1, 0]
]),
+ "oneS
t
ep"
);
}
);
}
@@
-268,7
+268,7
@@
export class OrdaRules extends ChessRules {
sq,
color,
V.YURT,
sq,
color,
V.YURT,
- V.steps[V.BISHOP].concat([
1, 0
]),
+ V.steps[V.BISHOP].concat([
[1, 0]
]),
"oneStep"
);
}
"oneStep"
);
}