Hey, I have this repl that uses PyQt5, and it used to work just fine about a year ago, but now it simply won’t print the GUI elements.
This is the repl: https://replit.com/@kuashio/cat-trap-game
This one is a pygame repl, but I’ve also tried it in a python one, with the same result.
There’s no runtime error reported. It just won’t show the elements inside the GUI window. The window is there, but the controls and painted stuff are missing.
Well, I get this message, but I’m not sure if it’s related to the problem:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-runner’
It works fine on windows and ubuntu. Here’s the Github link: GitHub - kuashio/cat-trap: An intelligent that plays the Cat Trap game using the Minimax algorithm, with Alpha-Beta pruning and Iterative Deepening. This is the project showcased in the LinkedIn Learning course titled AI Algorithms for Gaming.
Can you help?