mcr-mahjong is a Kotlin/JVM port of mahjong-algorithm by Jeff Wang.

Copyright (c) 2016-2027 Jeff Wang <summer_insects@163.com>
Copyright (c) 2026 SkyEye_FAST

Upstream: https://github.com/summerinsects/mahjong-algorithm
Pinned commit: 44a178af08bf11f82a8993fddbe2fe8876ddd8f3

Ported sources: tile.h, shanten.h, shanten.cpp, fan_calculator.h, fan_calculator.cpp.
Regression cases are derived from upstream unit_test.cpp. The optional C++ oracle
also compiles upstream stringify.h/cpp. Source fingerprints are recorded in
tools/upstream.sha256; the compatibility profile is documented in COMPATIBILITY.md.

The upstream copyright year range is preserved verbatim. LICENSE contains the
original MIT permission notice and the port's attribution.

Gradle wrapper files are licensed under the Apache License, Version 2.0,
as indicated in their file headers.
