Run formatter and add utility functions in SDLGame