Long story short: I'm a real noob at programming, so as an exercise for learning Nim I decided to make a basic game framework. I managed to have it draw pixel art circles, lines, sprites from a spritesheet, and to play sound. The problem is that, since i know nothing about SDL, I made it really janky (REALLY janky).
So, I could really use some guidance from someone who actually knows about this stuff.