after trying pygbag for the first time I successfully managed to run a pygame program on the browser. However, I still dont completely understand why the program must use my local server to work. So I would very appreciate an explanation. I tried to run the game without using any server but only with my html file, but when I try to just open my index.html file I get "Error occurred: Failed to fetch" Error. I tried to open the index.html file instead of using my local server but it didnt work... I wanted it to work the same as before. I also tried to upload it to a repl.it host but I really dont know how this the python-script combined with the html and the apk works all together. Im very confused. Continue reading...