Functions include log-in, saving language preferences, performance measurement and improvement, routing traffic between web servers, detection of the size of the screen, measuring page load times ...
Roleplaying games can have everything from interplanetary ... lizards who can talk to cats, and a whole lot of dice rolling if that’s your jam. It’s a pretty diverse pool.