Fortnite maker Epic Games has consented to pay $520 million to resolve US government charges that it tricked players, including youngsters and adolescents, into making unanticipated purchases and violated a major federal children's privacy legislation.