Big assumptions were made by the author of this post, the biggest being that they used an API to get access to game data rather than pixels. If the AI were limited to pixels then the achievement is much greater.
Author here. I agree this is an assumption, but based on my experience it is very unlikely that this is trained on pixels. Training would've been orders of magnitude more expensive. If it really is trained on pixel input I would be shocked and extremely impressed, and parts of post would not apply.