So I'm making a game across multiple repls and want to be able to see when someone has finished the game in one and send that info back to the start page. Does anyone know how to do this? Any help is very much appreciated.
It is an interesting question. @PYer's idea is a good one, but the only issue with submitting scores with a POST request is that it's pretty simple to send one in the browser and essentially end up breaking the game. You could use WebSockets which might be a little more secure or institute some sort of authentication system on your POST requests so that the game isn't broken into. GETting scores with GET would work since you aren't actually submitting data. Just my advice let me know if you have questions. Python does have libraries for WebSockets
Personally @BrysonVan1, I find websockets harder to understand and use, but definitely another thing you can look into, especially if you want to avoid the get/post requests. There are ways you can try secure the information you are sending with GET/POST requests. But yes, that could be a problem. Depends on the security you want in the repl, and how important the information that is being sent is. Good suggestion.
Intereting question, though it is hard to answer and vague. My first thought would be to create some system with post or get requests. If you create a server (unless you have a preffered way, I would recommend flask with python ;)), which holds the information about who has completed the game. Then, when you need it, send a request to the server to find out if the person has completed it. Or if you need to be notified when the player has finished, try setting an interval to repeatedly send a request to the server to find out if the player has finished the game. You'd add the information to the server with another get request, that saves the information somewhere. If it's very important and long-term, in a database, otherwise, you could save it in a variable that would get deleted when the server goes down. This is a broad topic, and I recommend looking at some flask examples of servers/tutorials on how to do this if you don't have experience yet. I can't really help you and teach you everything about it, as it would take lots of time, and I don't know the specifics of what you are trying to do.