Upgraded the game engine to SDL3

The game engine has been upgraded to use Simple DirectMedia Layer version 3.

It was a journey with some bumps in the road but they were nice enough to include error messages such as this that tell what new function should be used.

SDL3 error message
Friendly SDL3 error message.