Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rglenister committed Apr 13, 2012
1 parent 24a4ec0 commit 4279954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/models/ChessRoom.scala
Expand Up @@ -16,7 +16,6 @@ import chess.PieceColor
import chess.PieceColor._
import chess.Game
import chess.{Move, BasicMove, CastlingMove, EnPassantMove, PromotionMove}
import chess.codec.FENEncoder
import chess.format.MoveFormatter


Expand Down
4 changes: 2 additions & 2 deletions app/models/Json.scala
Expand Up @@ -5,7 +5,7 @@ import scala.math.BigDecimal.int2bigDecimal
import chess.PieceColor.Black
import chess.PieceColor.White
import chess.PieceType.Queen
import chess.codec.FENEncoder
import chess.codec.FENSerializer
import chess.format.MoveFormatter
import chess.BasicMove
import chess.CastlingMove
Expand Down Expand Up @@ -66,7 +66,7 @@ object JsonGameSerializer {
).toString
}

private def encodeFEN(game: Game) = "fen" -> JsString(FENEncoder(game.currentPosition).encode)
private def encodeFEN(game: Game) = "fen" -> JsString(FENSerializer(game.currentPosition).encode)

private def serializePlayers(game: Game) = {
"players" -> JsObject(
Expand Down

0 comments on commit 4279954

Please sign in to comment.