Skip to content

Selfplay outputs chess960 "capture rook" moves #1009

@Mardak

Description

@Mardak

lczero-client converts the gameready moves to pgn:
https://github.com/LeelaChessZero/lczero-client/blob/33e15f9ec6ce147de76802a0d173804845de219c/lc0_main.go#L403

A quick test:

convertMovesToPGN(strings.Split("d2d4 g8f6 g1f3 b7b6 g2g3 c8b7 f1g2 c7c5 e1h1", " "), "")

errors with:

movstr: chess: invalid move e1h1

Perhaps either https://github.com/Tilps/chess needs to get updated or selfplay should output e1c1/e1g1:

for (const auto& move : info.moves) res += " " + move.as_string();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions