First, my nodejs understanding is semi-limited. I watched a youtube video, made adjustments, then took off on my own. The server and file work perfectly fine when I run it on my computer (windows 10). Basically, an online tank game fighting endless swarms of enemies.
I uploaded the files to glitch so I could try it out online. Made various corrections (like apparently I needed to define variables and not just use them…), and now, the server says it is running (thankfully!). But, the index.html won’t load properly.
I keep getting a 404 Not Found Error on: https://temp-running-1.glitch.me/socket.io/?EIO=3&transport=polling&t=NRuzfBV
At this point, I don’t know what to do. Any help would be greatly appreciated. I’m not even sure I’m using the right port, or how to set the port, or… well, I just don’t know. Honestly, I’m pretty sure I set the port to 2000, it says it’s listening on 3000, and my index.html just hangs (I’m pretty sure it’s waiting on a response from the server).
Long story short, I’m trying to make a game for my students, so that they can create a function that draws a tank, and I’ll import them all, and then have them play with their own personal tank. Great idea, took a LOT of time (far too much), but now I’m just stuck. Fingers crossed that someone here knows what I need to do next (I’ve tried various things so far, but ultimately, I’m just desperately trying random things hoping one will eventually work).
Thanks in advance,