Okay, I have got Part1 finished:
https://github.com/githwxi/ATS-Postiats-contrib/tree/master/projects/SMALL/M-N-K-game/Part1I did this in a rather "elaborate" way, showing how I think a small project in ATS should be structured.
Also, the Makefile in the above directory is a reasonable one that one can use as a template.
Right now, my plan is to implement this game in the so-called coroutine-style, which I think is superior
to the callback-style. But I will first finish a sequential style of implementation as it is the easiest to do.