I made a one-card game, but it keeps falling into infinite loop
I’ve tried implementing a one-card game with c, but my code is that when I run about 5 times, I fall into infinite loop at least 2 times. I’ve talked to chat-gpt a lot to solve this problem, but I haven’t found an answer… Please fix it!