Check return codes everywhere
I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.
Would you like to add more error handling for return values from functions like the following?
Oh yeah! I was so excited when I was making this game - clearly, I didn't think this through.
Will fix that, starting by those you've mentioned.
Thanks a lot for the interest on yetris, great to have someone pulling my ear :)
Are you interested to apply aspect-oriented software development? How do you think about to encapsulate error detection and corresponding exception handling as a reusable aspect in your software?