update crazyhouse rules link
This commit is contained in:
parent
92a2773b73
commit
2c109a56f4
|
@ -10,7 +10,7 @@ case chess.variant.FromPosition => {@routes.Editor.index?fen=@initialFen.map(_.r
|
|||
case chess.variant.Atomic => {http://www.freechess.org/Help/HelpFiles/atomic.html}
|
||||
case chess.variant.Horde => {http://en.wikipedia.org/wiki/Dunsany%27s_chess#Horde_variant}
|
||||
case chess.variant.RacingKings => {@routes.Page.racingKings}
|
||||
case chess.variant.Crazyhouse => {https://en.wikipedia.org/wiki/Crazyhouse}
|
||||
case chess.variant.Crazyhouse => {@routes.Page.racingKings}
|
||||
case _ => {}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ var variantConfirms = {
|
|||
"atomic": "This is an atomic chess game!\n\nCapturing a piece causes an explosion, taking out your piece and surrounding non-pawns. Win by mating or exploding your opponent's king.",
|
||||
"horde": "This is a horde chess game!\n\nWhite must take all black pawns to win. Black must checkmate white king.",
|
||||
"racingKings": "This is a racing kings game!\n\nPlayers must race their kings to the eighth rank. Checks are not allowed.",
|
||||
"crazyhouse": "This is a crazyhouse game!\n\n. Every time a piece is captured the capturing player gets a piece of the same type and of their color in their reserve."
|
||||
"crazyhouse": "This is a crazyhouse game!\n\n. Every time a piece is captured the capturing player gets a piece of the same type and of their color in their pocket."
|
||||
};
|
||||
|
||||
function storageKey(key) {
|
||||
|
|
|
@ -44,7 +44,7 @@ module.exports = function(opts) {
|
|||
steps: [{
|
||||
title: "Crazyhouse",
|
||||
content: "This is a game of crazyhouse. " +
|
||||
'Would you like to check out <a target="_blank" href="https://en.wikipedia.org/wiki/Crazyhouse">the rules</a>?',
|
||||
'Would you like to check out <a target="_blank" href="http://lichess.org/crazyhouse">the rules</a>?',
|
||||
target: "div.game_infos .variant-link",
|
||||
placement: "bottom"
|
||||
}]
|
||||
|
|
Loading…
Reference in a new issue