After a massive struggle and a brutal war between me and my code, I finally won! I’ve realized it is much harder to make a game run and play correctly across different devices than it is to actually build it,everyone says HTML and JavaScript are the easiest languages, but I found them to be the most difficult. I spent about 80% of my time debugging and asking AI what was wrong. If I got the real-time chat working, the game would stop; if the game worked, the messages would stop. Sometimes the username panel would just get stuck. Even when things did work, I would realize I had used different ID tags that weren’t syncing correctly.
css was also taking its revenge on me, If I styled one element correctly, it would distort another or mess up the entire layout. Even the AI couldn’t find the problem at first. After rotating through two or three different AIs and finally explaining the htmlL structure to Chatgpt on the sixth attempt, it finally identified the issue. This was a long battle, but I got it done.
Okay after the war here are teh results:
and they are like after a nuclear war over a slice of pizza
ok finally the real time chat works and teh games alos runs on teh browser now the bython was not waorking i first tried it becoause chatgpt say’s it is easy to work on and setuping up but it dint tell me that it didnt work okay ,lastly i used Pyodide and even though it is not also a nice kid ,but i figured it out
There;s a secret i dont know how it is working some how it is working with some bugs probably i will fix it after by exams are over .