Skip to content

Instantly share code, notes, and snippets.

@Marken-Foo
Marken-Foo / suginami_note_201220.md
Created December 20, 2020 16:36
lishogi updates 2020-12-08 - translation of 2020-12-08 note.com post by 杉並委員長 (ch_suginami)

lishogi latest updates (as of nighttime, 20th December)

(Original post by ch_suginami-san: https://note.com/ch_suginami/n/na9fdb8a2970f )

Updates

Kifu notation has been extended. Next to the original western notation style, Kawasaki and Japanese notation styles have been added. So now it looks much better from a Japanese aesthetic. If one were to find fault, it would be that the 「打つ」 for dropping pieces and the 「右左引直」 for disambiguation are not supported, and for the latter case the "departure square coordinate" is given just as in chess. For those who are familiar with computer shogi, perhaps it would be easier to describe as a mix with the CSA format.

However, it would be unreasonable to demand this much improvement at the current juncture. It's good enough how far it's come.

@Marken-Foo
Marken-Foo / translation_listing.md
Last active December 24, 2020 10:58
Translated note.com articles
@Marken-Foo
Marken-Foo / suginami_note_201222.md
Created December 23, 2020 15:08
lishogi updates and regarding the byoyomi format - translation of 2020-12-22 note.com post by 杉並委員長 (ch_suginami)

lishogi updates and regarding the byoyomi format

(Original post by ch_suginami-san: https://note.com/ch_suginami/n/n22781eba6766 )

Correction

In the previous post, I wrote that more kifu notation types were added. In that post, I wrote that the 「右左直引」 disambiguations were not implemented.

But yesterday when I happened to look at a kifu, the notation system had been upgraded and I noticed that disambiguation was supported. I don't know if it was a difference in time or if action was taken after reading the post, but as a result the content of the prior post is now inaccurate. This correction is noted here.

@Marken-Foo
Marken-Foo / karakoro_note_201206.md
Created December 23, 2020 15:09
lishogi diary 1 - translation of 2020-12-06 note.com post by karakoro

lishogi diary 1

(Original post by karakoro-san: https://note.com/karakorororo/n/n149601dd0157 )

I'm one of the few Japanese people currently hanging around on lishogi.

Peeking at the lishogi Discord, it's fun to discover new things every day.

In order to organise my thoughts, I'll write individual posts about the experiences I've amassed.

@Marken-Foo
Marken-Foo / karakoro_note_201220.md
Created December 24, 2020 10:56
Shogi and Fischer increment - translation of 2020-12-20 note.com post by karakoro

Shogi and Fischer increment

(Original post by karakoro-san: https://note.com/karakorororo/n/n59ecdc1261fb )

The ubiquitous time setting in chess, Fischer increment.

In contrast, for shogi byoyomi is the norm, while increment time controls are not common.

That said, those who didn't know of Fischer increment were probably the majority a few years ago, but today there are probably more who may never have tried it but still know about increment.

@Marken-Foo
Marken-Foo / read_board.py
Created July 2, 2024 07:30
Python script to convert shogi board image to SFEN (needs tsumemi)
import math
import cv2
import numpy as np
import pytesseract
from pytesseract import Output
from basetypes import Koma, Side, KTYPE_FROM_KANJI
from position import Position