+ 1
Link not working...?
In the following code I have a link to my snake game, which runs just fine by itself. Going through the link however, when the game is run, it throws ‘syntax error’ without any further info. Does anyone see the issue? Here’s the code with the link: https://code.sololearn.com/W7K4pDKPIhrF/?ref=app This is the snake game: https://code.sololearn.com/W1mgu6mLP2E5/?ref=app
14 Respuestas
+ 4
Oceanlight yes, I played up to score 15 without any problems. How does the error occur in the code ? How can I reproduce the error ?
+ 4
Oceanlight I ran it on the app 😂😂 yet had no problems!
+ 3
Weird, it doesn't show any syntax error on my side. Have you fixed the code ?
+ 3
Oceanlight weird, I tried it more than 5 times and wasn't able to produce an error
+ 2
I dont think the error is from the code.
I think Sololearn just doesn’t work well when it comes to linking a code. Not exactly why; but most of the time it throws a syntax error when I try to link to a different code too.
+ 1
Ginfio thanks, I suspected that
Maybe there’s still a way make it work though... I’ll let you know if I find it😬🙃
+ 1
I don't see any error in the code cus is working in my app.
+ 1
try this: https://snakethegame.glitch.me
0
Aymane Boukrouh [INACTIVE] nope...🤨
It’s still throwing errors over here
Is the snake game running just fine for you?
0
Aymane Boukrouh [INACTIVE] I really don’t know how it occurs...
I click the link; it opens a split screen (as if opened in the browser instead of the app) with the code on the left and the output on the right (which is blank); and the console pops up with ‘syntax error’
I also can’t hide the console to rerun the game (the console is blocking the run button)
This might just be an error with sololearn😕
0
Aymane Boukrouh [INACTIVE] Ginfio
so I just ran it in my browser (instead of the app) and it worked just fine...
It only seems to malfunction in the app
0
Simply Studios your game works AND is shows ‘syntax error’; mine dosen’t work at all 🧐
I’m trying to use my own snake game though...
0
Perhaps this is a bug with a specific version of sololearn
0
Oceanlight look at the js source code