update crazyhouse rules link

This commit is contained in:
Thibault Duplessis 2016-01-19 16:44:16 +07:00
parent 92a2773b73
commit 2c109a56f4
3 changed files with 3 additions and 3 deletions

View file

@ -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 _ => {}
}
}

View file

@ -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) {

View file

@ -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"
}]