Closed barakmich closed 5 days ago
To reproduce:
func TestMoveHistory(t *testing.T) { game := chess.NewGame() game.MoveStr("e4") game.MoveStr("e5") game.Resign(chess.Black) history := game.MoveHistory() // Panics here if len(history) != 2 { t.Fatal("Didn't retrieve full history") } }
That there's also no way to make a move with comments.... well, I guess that's #89
quick fixed here: https://github.com/mono424/chess
To reproduce:
That there's also no way to make a move with comments.... well, I guess that's #89