Plan 9 from Bell Labs’s /sources/patch/applied/mahjongg-useless-draw/files
/sys/src/games/mahjongg/graphics.c graphics.c