Start of tile game-specific utilities to use in boilerplate game loop