I’m trying to run a pygame, but my CPU maxes out and doesn’t even use/open the other window. This is a blackjack game, and as far as I know the code is good and formatted correctly. Repl link: https://replit.com/@Chair-GamingGam/blackjack
The code runs ok, but it only says hello world. As already stated, the best would be to move to another language when the CPU is clogged. But if the CPU bar goes red shortly and then goes down, i would not bother.