Tell us what’s happening:
I have just started the ‘secure real time multiplayer game’ project. This project requires the use of the ‘socket.io’ library (it is specified in one of the user stories).
I’ve looked at some videos online on what socket.io is/what socket.io is for but have noticed that everyone sets up the server side socket and client side socket differently. For example, this guy does it one way:
This other guy does it another way: Learn Socket.io In 30 Minutes - YouTube
I wanted to copy the second guy as his way looks simple, but the boiler plate code provided to us already comes with some lines of code which limit how we can set up the socket.
I was wondering where others who have done this project learned to set up their client side and server side sockets so that I can learn to.
Thanks for your time
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Challenge: Secure Real Time Multiplayer Game
Link to the challenge: