After much gnashing of teeth and wailing, and I guess a few hours of random hacking too.
I'm guessing it's probably just a lot easier to work against Vladar's nimgame2 most of the time for a high level SDL2 wrapper, there's already a huge amount of quality work put into it: [https://vladar4.github.io/nimgame2](https://vladar4.github.io/nimgame2)/ (still, it's fun to hack for the sake of hacking and getting practice, even if what you're working on right now is ultimately useless )