I want to use the output of a game (such as a variable selected by the player) to change the appearance of a web page (a page on my server). For example, if the player selects 'large' from a list of options, the text on the target page would be displayed in large font. (I know that this can be done via browser controls and the OS; my goal is to do it via the game.)
My guesses are:
- use CSS for the formatting of the target page
- use WebSocket to write from the game to the CSS somehow
But those are guesses. Can anyone point me to a clear solution? Thanks.