Ability to export games #10

Open
opened 2024-01-03 19:06:11 +00:00 by fa-ml · 1 comment

Exporting games has many benefits, like analysing in your program of choice (with its interface, analysis tools) and creating a databse of games.

GNU Backgammon SGF is well specified. Jellyfish match format (.mat) is another popular format (without a specification).

Exporting games has many benefits, like analysing in your program of choice (with its interface, analysis tools) and creating a databse of games. [GNU Backgammon SGF](https://www.red-bean.com/sgf/) is well specified. Jellyfish match format (`.mat`) is another popular format (without a specification).
Owner

When logged in to an account, click History, select a previous match, and then click Download to download a replay of a match. While not logged in to an account, you can still download a replay of a game once it has finished by typing /download.

For Backgammon games at least, SGF seems like overkill (in my opinion) so I designed a new format that is described in REPLAY.md. I think this is a good chance to create a backgammon match file format that is simple for application developers to use and work with, while also being easy for computers to parse and understand.

While you can open downloaded replay files in Boxcars to view moves and play back through the game, third-party software support is of course missing because this format was only recently drafted, and there is still the question of whether third-party software authors will even be interested in supporting another format. A file format conversion tool would be helpful in the mean time. Right now I don't plan on implementing a conversion tool, but I would be glad to link out to such a tool if and when it is created so users may find and use it.

When logged in to an account, click History, select a previous match, and then click Download to download a replay of a match. While not logged in to an account, you can still download a replay of a game once it has finished by typing `/download`. For Backgammon games at least, SGF seems like overkill (in my opinion) so I designed a new format that is described in [REPLAY.md](https://code.rocket9labs.com/tslocum/bgammon/src/branch/main/REPLAY.md). I think this is a good chance to create a backgammon match file format that is simple for application developers to use and work with, while also being easy for computers to parse and understand. While you can open downloaded replay files in Boxcars to view moves and play back through the game, third-party software support is of course missing because this format was only recently drafted, and there is still the question of whether third-party software authors will even be interested in supporting another format. A file format conversion tool would be helpful in the mean time. Right now I don't plan on implementing a conversion tool, but I would be glad to link out to such a tool if and when it is created so users may find and use it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/bgammon#10
No description provided.