|
|
|
@ -82,6 +82,7 @@ func showBoard(m chat1.MsgSummary, g *Game) {
@@ -82,6 +82,7 @@ func showBoard(m chat1.MsgSummary, g *Game) {
|
|
|
|
|
if err := pos.UnmarshalText([]byte(fenStr)); err != nil { |
|
|
|
|
log.LogError(fmt.Sprintf("Error in ShowBoard pos.UnmasrhalText: %+v\n", err)) |
|
|
|
|
} |
|
|
|
|
log.LogInfo("Trying to check Moves History") |
|
|
|
|
if len(g.Game.MovesHistory()) != 0 { |
|
|
|
|
// write board SVG to file
|
|
|
|
|
yellow := color.RGBA{255, 255, 0, 1} |
|
|
|
|