-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I was thinking of posting a link to Pong to the discord wasm demos section. But i was thinking I would like to paste a link to the Pong 2 Player AI version (and skip the intro menu, when this demo link is used). For example, i sorted of wanted to select the 2 Player AI mode, than copy the link in the address bar (but of course the link didn't change when i selected the 2P AI menu). How would we do that in a general way? Is it just an app feature (you could easily add the code to your index.html to look at the #Pong2AI (like we do for #async sometimes). But is there a more generic feature?
It seems like it might be a feature of your button widget library.
Or, more generically, a feature of a UI library. For example, one might have "screens" that can be deep linked to. Or one might have various UI status adjust the URL in the title bar so that they contain all the state info in the link so that a copy/paste of the link can deep link to that state.