The rise of corruption in sport has prompted sports bosses to draw up gambling codes for athletes and officials going to Rio in August. New Zealand's Olympic footballers are learning the tricks of match-fixing to guard against corruption, amid warnings the Rio games could become the biggest betting event in the world.