Scripts for analysing Houou replays. Results can usually be found on my blog, if they're interesting. My past analysis scripts can be found at my phoenix-logs fork.
I'm making a new repo because this one will contain breaking changes. Tiles are now from 0 to 33 instead of 0 to 37 (no separate storage for aka). Hands are now Counters instead of lists.
This breaks the old shanten code, but enables the new shanten code in the spine_shanten folder to work. This shanten code is about nine times faster on a fresh hand and much much faster for progressive hands. The code was ported to Python from spinesheath's C# repo.
To get the replays, use ApplySci's phoenix-logs repo, or download some of the databases from this Google Drive folder. For a reference of the Tenhou log format, see here.