Secure Real Time Multiplayer Game - Works locally but not in Replit

Tell us what’s happening:

I finished the project and the game works smoothly locally, but in Replit, the player glitches when it moves. Not sure what can be the cause of that. Glad if someone could help. Thanks :wink:

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/ Safari/537.36

Challenge Information:

Information Security Projects - Secure Real Time Multiplayer Game