atomic rules

This commit is contained in:
Thibault Duplessis 2016-01-21 20:42:39 +07:00
parent ef8cf02ca9
commit 204cb81f8c
3 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,8 @@ object Page extends LilaController {
def kingOfTheHill = page("king-of-the-hill")
def atomic = page("atomic")
def racingKings = page("racing-kings")
def crazyhouse = page("crazyhouse")

View file

@ -7,7 +7,7 @@ case chess.variant.KingOfTheHill => {@routes.Page.kingOfTheHill}
case chess.variant.ThreeCheck => {http://en.wikipedia.org/wiki/Three-check_chess}
case chess.variant.Antichess => {http://en.wikipedia.org/wiki/Losing_chess}
case chess.variant.FromPosition => {@routes.Editor.index?fen=@initialFen.map(_.replace(" ", "_"))}
case chess.variant.Atomic => {http://www.freechess.org/Help/HelpFiles/atomic.html}
case chess.variant.Atomic => {@routes.Page.atomic}
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 => {@routes.Page.crazyhouse}

View file

@ -395,6 +395,7 @@ GET /terms-of-service controllers.Page.tos
GET /how-to-stream-on-lichess controllers.Page.streamHowTo
GET /contact controllers.Page.contact
GET /king-of-the-hill controllers.Page.kingOfTheHill
GET /atomic controllers.Page.atomic
GET /racing-kings controllers.Page.racingKings
GET /crazyhouse controllers.Page.crazyhouse
GET /privacy controllers.Page.privacy