diff --git a/modules/ai/src/main/stockfish/Server.scala b/modules/ai/src/main/stockfish/Server.scala index a3878c4422..2a31d99d1f 100644 --- a/modules/ai/src/main/stockfish/Server.scala +++ b/modules/ai/src/main/stockfish/Server.scala @@ -11,13 +11,14 @@ import play.api.Play.current import actorApi._ import chess.format.Forsyth import chess.format.UciDump +import chess.Variant.Chess960 import lila.analyse.AnalysisMaker private[ai] final class Server(queue: ActorRef, config: Config) { def play(pgn: String, initialFen: Option[String], level: Int): Fu[String] = { implicit val timeout = makeTimeout(config.playTimeout) - UciDump(pgn, initialFen).future flatMap { moves ⇒ + UciDump(pgn, initialFen, initialFen.isDefined option Chess960).future flatMap { moves ⇒ queue ? PlayReq(moves, initialFen map chess960Fen, level) mapTo manifest[Valid[String]] flatMap (_.future) } @@ -25,7 +26,7 @@ private[ai] final class Server(queue: ActorRef, config: Config) { def analyse(pgn: String, initialFen: Option[String]): Fu[AnalysisMaker] = { implicit val timeout = makeTimeout(config.analyseTimeout) - UciDump(pgn, initialFen).future flatMap { moves ⇒ + UciDump(pgn, initialFen, initialFen.isDefined option Chess960).future flatMap { moves ⇒ queue ? FullAnalReq(moves, initialFen map chess960Fen) mapTo manifest[Valid[AnalysisMaker]] flatMap (_.future) } diff --git a/todo b/todo index 2b5b98e3c6..94ceb9b31f 100644 --- a/todo +++ b/todo @@ -62,6 +62,14 @@ IE10 no sound toggle http://en.lichess.org/forum/lichess-feedback/notification-o filter current games for watching http://en.lichess.org/forum/lichess-feedback/viewing-current-games-suggestion#2 declined challenge still appears no time data http://en.lichess.org/x9tls3mh/stats +show rated games to anon +improve game filter UI +games that have no room to show up never appear +second realtime board on homepage (right) +show friend games in homepage board +allow to filter anon +add fast tooltips to plots +from position castle blocks http://en.lichess.org/rdbx7laaczj8 ---