Fix many warnings in the game module