3
Repl.it or code issue?
ChristopherBurn (6)

I've started a coding club in our school, and we have been collaboratively creating a game in Python with Turtle. It worked just fine until last week. Now for some of the computers (everyone is on Chromebooks) the opening screen turtle drawer just takes off and the game freezes for about 5 minutes. For others the game still functions as expected. I have tried debugging, but there is no error I can see in the code and as it occurs only on certain machines I am wondering if it is a repl.it issue and not a code issue. I have also put the code into other online editors and it runs perfectly. We can't install IDE's on the Chromebooks (school division controlled) and we like repl.it for it's multiplayer capacity.
Any ideas? The issue generally occurs while drawing the "a" in "tank", but if you comment that section out the issue will occur elsewhere in the title drawing process.
I'd love to get this working again so we can continue with it. But it's very hard to test it when it only runs on one machine.

Edit* See link: https://repl.it/@ChristopherBurn/TurtleTank

You are viewing a single comment. View All
2
a5rocks (501)

BTW works for me.

1
ChristopherBurn (6)

@a5rocks What kind of system are you running? I'm on an hp laptop and it doesn't work, and the chromebooks have been about 3/4 not working 1/4 working.

3
Vandesm14 (483)

@ChristopherBurn Are you able to use dev tools on the Chromebook? (ex: Inspect Element). If you are, profiling the performance of the site may point out that the Chromebook's don't do well under intensive JS (which would render the output from the python code)

1
ChristopherBurn (6)

@Vandesm14 Unfortunately not. The sysadmins here have locked the Chromebooks pretty solidly. It doesn't run on my hp laptop either though, which is what really surprises me.

2
Vandesm14 (483)

@ChristopherBurn It works for me. @a5rocks, do you have a demo turtle program he can run in order to see if the policy blocks running the GFX render that repl.it uses for their turtle output?

2
a5rocks (501)

@Vandesm14 nah, but I will in a second: https://repl.it/@a5rocks/DoubleCheapDoom

(lol example code ftw)

1
ChristopherBurn (6)

@Vandesm14 I was using repl.it for coding this. It worked fine for literally months until just 2 weeks ago. I can turtle code with no problem most of the time on both the HP laptop and the Chromebooks.

1