"Four new pieces": "Four new pieces",
"In the shadow": "In the shadow",
"Interweaved colorbound teams": "Interweaved colorbound teams",
- "Get rid of the queen": "Get rid of the queen",
"Get strong at self-mate": "Get strong at self-mate",
"Give three checks": "Give three checks",
"Harassed kings": "Harassed kings",
"Four new pieces": "Quatro nuevas piezas",
"In the shadow": "En la sombra",
"Interweaved colorbound teams": "Equipos unicolores entrelazados",
- "Get rid of the queen": "Deshacerse de la dama",
"Get strong at self-mate": "Progreso en mates asistidos",
"Give three checks": "Dar tres jaques",
"Harassed kings": "Reyes acosados",
"Four new pieces": "Quatre nouvelles pièces",
"In the shadow": "Dans l'ombre",
"Interweaved colorbound teams": "Équipes unicolores entremêlées",
- "Get rid of the queen": "Débarrassez-vous de la dame",
"Get strong at self-mate": "Progressez en mats aidés",
"Give three checks": "Donnez trois échecs",
"Harassed kings": "Rois harcelés",
+++ /dev/null
-p.boxed
- | The goal is to lose the queen.
-
-p TODO
+++ /dev/null
-p.boxed
- | El objetivo es perder a la dama.
-
-p TODO
+++ /dev/null
-p.boxed
- | L'objectif est de perdre la dame.
-
-p TODO
"Freecapture",
"Gridolina",
"Hamilton",
- "Lostqueen",
"Magnetic",
"Parachute",
"Takenmake",
"Gridolina",
"Hamilton",
"Magnetic",
- "Lostqueen",
"Parachute",
"Takenmake",
"Titan",
"Freecapture",
"Gridolina",
"Hamilton",
- "Lostqueen",
"Magnetic",
"Parachute",
"Takenmake",
+++ /dev/null
-import { ChessRules } from "@/base_rules";
-
-export class LostqueenRules extends ChessRules {
-
- // The king can move like a knight:
- getPotentialKingMoves(sq) {
- return (
- super.getPotentialKingMoves(sq).concat(
- super.getSlideNJumpMoves(sq, ChessRules.steps[V.KNIGHT], "oneStep"))
- );
- }
-
- // Goal is to lose the queen (or be checkmated):
- getCurrentScore() {
- // If my queen disappeared, I win
- const color = this.turn;
- let haveQueen = false;
- outerLoop: for (let i=0; i<V.size.x; i++) {
- for (let j=0; j<V.size.y; j++) {
- if (
- this.board[i][j] != V.EMPTY &&
- this.getColor(i,j) == color &&
- this.getPiece(i,j) == V.QUEEN
- ) {
- haveQueen = true;
- break outerLoop;
- }
- }
- }
- if (!haveQueen) return color == "w" ? "1-0" : "0-1";
- if (this.atLeastOneMove()) return "*";
- // No valid move: the side who cannot move (or is checkmated) wins
- return this.turn == "w" ? "1-0" : "0-1";
- }
-
-};
('Koopa', 'Stun & kick pieces'),
('Koth', 'King of the Hill'),
('Losers', 'Get strong at self-mate'),
- ('Lostqueen', 'Get rid of the queen'),
('Madhouse', 'Rearrange enemy pieces'),
('Madrasi', 'Paralyzed pieces'),
('Magnetic', 'Laws of attraction'),