WandererXII / lishogi

☗ lishogi.org: the forever free, adless and open source shogi server forked from lichess.org ☗
https://lishogi.org
GNU Affero General Public License v3.0
271 stars 41 forks source link

Suggestion:Adding notation styles of kif and csa #45

Closed ch-suginami closed 3 years ago

ch-suginami commented 3 years ago

Hi. This suggestion might be related the issue #37 but I will suggest other two notation styles, kif and csa, to save. Because many notations of Japanese shogi are recorded by the kif style and the csa style is used in computer shogi area. When players (especially Japanese?) use their notations in programs such as the ShogiGUI or web pages, the kif style is the best way. I know the kif style is quite difficult to write because it includes so many kanji letters. So another style is the csa style which is no need to include kanji letters but might not be common or famous. The names of notation of both styles are written in this Wikipedia page , but the page is little information about them. These styles will help users when they are analyzed or recorded for databases of all playing. If the developers need to help for making it, I could do. Thanks.

kleffa commented 3 years ago

I also like option at least to frontend a Kitao-Kawasaki system, is basically the chess-like but with kanjis instead letters similar to kifu, but numbers for ranks and a shogi piece in black for sente and white for gote.

I have a function written to change moves from chess like to Kitao-Kawasaki one, thats is the one I use to translate books

WandererXII commented 3 years ago

Hey there, I plan on adding these as soon as possible, since I think the western notation only, can turn many people away. After I create the underlying system for switching between notations, it should be easy to have as many notations as we want. I will let you know once that happens, if you want to help. Thanks!

kleffa commented 3 years ago

actually western notation is also a debatible stuff, I think set the ranks as numbers as well is better since is simpler to play with japanese people, this was commented a time ago by Karolina in a notation video so that convinced me

Marken-Foo commented 3 years ago

Hello, if you need the standards for KIF and CSA formats, you can find them here (Japanese): KIF: http://kakinoki.o.oo7.jp/kif_format.html CSA: http://www2.computer-shogi.org/protocol/record_v22.html

I translated these into English here: KIF: https://gist.github.com/Marken-Foo/7694548af1f562ecd01fba6b60a9c96a CSA: https://gist.github.com/Marken-Foo/b1047990ee0c65537582ebe591e2b6d7

justremember commented 3 years ago

Will start on this today or tomorrow.

ddugovic commented 3 years ago

Well... whatever software is produced eventually needs to be able to import kifus. I would be careful about designing export formats until we fully understand all supported import formats, in case somehow what Lishogi imports somehow affects its export capability.

WandererXII commented 3 years ago

https://lishogi.org/blog/YWjrNhEAACQAjidY/csa-support