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
@ChristopherBurn Its not repl nor your code. Chromebooks have a issue with running repl scripts as my chromebook at my school. Im figuring your school locks down chromebooks with either goguardian or Lan School and in that feature they mistake some program running websites as a threat so the chromebook is trying to figure whats going on and the program freezes. As for the HP laptop its possibly just old hardware or your using too much of the Repl system. If you possibly talk to the school to get the website scripts allowed it may work. Just a theory as I dont see anything wrong with the code but I may be mistaken.
@ChristopherBurn So I googled SophosEndpoint and one of the first sentances is "protection product that combines antimalware, web and application control" Im guessing your school has blocked some sort of js functioning on the webpage and that is the most probable reason I can think of. Your code works fine i've tested it twice now. Runs perfectly fine on my Mac and Chromebook. Im guessing that the reason for the chromebooks. It also looks like the software controls what operations run on the machine
@Masy According to my IT department, it may be a problem on repl.it's side..."My best guess, when I look at this is that it is a flash based engine. Now, that being said, Google Chrome has its own embedded version of flash. This project, seems to only sieze up in Chrome. I tried on my machine and received the same results as you, however, when I opened it in Firefox or Microsoft Edge, it ran completely fine. I would let their technical department know of this finding."
@PythinPython Update: I heard back from my IT department... "My best guess, when I look at this is that it is a flash based engine. Now, that being said, Google Chrome has its own embedded version of flash. This project, seems to only sieze up in Chrome. I tried on my machine and received the same results as you, however, when I opened it in Firefox or Microsoft Edge, it ran completely fine. I would let their technical department know of this finding."
I am able to duplicate the issue on my linux desktop when I use chrome and when I use firefox on the same it works fine.
It looks to me like the python interpreter gets stuck executing the same line of code over and over. I made this fork (https://repl.it/@BrianTheado/TurtleTank-1) and the 'print("2")' statement runs endlessly until I stop the interpreter.
My guess is the skulpt python interpreter is going haywire for some reason. I would think most chromebooks are kept at the same chrome versions, so it is mysterious how it works on some but not others.
I'm not really sure how to figure this one out.
It works on my chromebook just fine, my assumption is that it may be an issue with the browser you are using, or the browser settings. But I can not be sure 100% but the game looks great keep up the work and I hope you find a solution to your problem soon.
I am using the chromebook to code since january. I never got these type of problems.
Also sometimes internet down cuz the updates are gay and take 4/4 of your internet to download tough..