|
|
|
@ -76,7 +76,7 @@ func showBoard(m chat1.MsgSummary, g *Game) {
@@ -76,7 +76,7 @@ func showBoard(m chat1.MsgSummary, g *Game) {
|
|
|
|
|
} |
|
|
|
|
log.LogInfo("Creating board position (g.Game.Position().String())") |
|
|
|
|
// create board position
|
|
|
|
|
fenStr := g.Game.Position().String() |
|
|
|
|
fenStr := g.Game.Pos.String() |
|
|
|
|
log.LogInfo("Creating pos &chess.Position{}") |
|
|
|
|
pos := &chess.Position{} |
|
|
|
|
if err := pos.UnmarshalText([]byte(fenStr)); err != nil { |
|
|
|
|