It was pretty straightforward. I had never had any experience with SDL before, and I figured it out pretty quickly just from comments and the function names.
I did use a tiny bit of code from the tutorial on 2D platformers linked by someone else.
I'm surprised it was that brief actually. I didn't even try for brevity. And I'm sure if I had a better handle on some of the other features like macros and templates it could have been much more elegant in the display/SDL code.
The actual implementation of the automaton is only about 70 lines of code if I remember correctly.
I did use a tiny bit of code from the tutorial on 2D platformers linked by someone else.
I'm surprised it was that brief actually. I didn't even try for brevity. And I'm sure if I had a better handle on some of the other features like macros and templates it could have been much more elegant in the display/SDL code.
The actual implementation of the automaton is only about 70 lines of code if I remember correctly.