Skip to content

FR: Add HEN Support for position import, export, and teaching games #68

Description

@hemme

I am the author of HEN, a new serialization format specifically designed to represent static positions in Go (similar to how FEN works for Chess).

HEN format was born out of the following vision: «Imagine if we could share [kifu diagrams | tsumego | joseki] images (PNG+hen) and study them directly in our favorite app.»

To achieve this, I suppose one should proceed step by step: first, by integrating HEN as such (as in this FR), and then by allowing PNG import and export (which could be a separate FR).

All-in-all I believe this format (HEN) would be a great addition to libaduk.com and I would like to suggest the following features:

  • Create a scratch board from a HEN string: Allow users to generate a scratch board directly by parsing a HEN string.
    Import/Overlay HEN position: Add the ability to import a HEN position and overlay it onto the stones already present on a scratch board.
  • Export to Clipboard (scratch mode): Implement a function to copy the HEN representation of the current position on a goban directly to the clipboard.
  • Export to Clipboard (Review mode): Similar to the above, but allow copying the HEN representation of a specific position from a goban of a finished game or variation.

I would also be happy to help with the implementation.

BTW: if you want to mess around with HEN and PNG+hen artifacts, see:

Thank you for considering these suggestions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions