My Experiments with SocketIO
I have been working on a multiplayer online game to get a handle on Socket Programming. UNO seemed to be a fun game to build.
I built the game's functional flow only with numbered cards.
UI/UX was improved, integrated it with my previously built chat app, added special cards.
Please try it out with friends and family. Please share your valuable feedback.
P.S: Here is a more scalable deployment: https://uno4game.herokuapp.com/
I've never had much luck with Socket programming in Python on Repl. Nor have I ever been all that great at working with Flask.
This deserves more attention than it's getting. You did amazing on this. Good job!
Also, how did you get Socket IO Python programming to work on Repl?
@MocaCDeveloper Thank you so much for the appreciation!
As for the socket programming, I had first developed the whole game on localhost and the just copied the code onto replit. One problem I had faced earlier in one of my previous apps was that the client couldn't connect to the server socket. But everything worked fine when I updated the versions of various packages in requirements.txt (flask, flask-socketio, engineio etc.) as there was some version compatibility issue.
Enjoy playing the game!(I'd suggest using the heroku version-its much faster)