Moved physics code to Game class