when thinking about the concept of making games in C , I always wonder how it is done when programming threads in C is merely impossible .
I mean, let's think about the simplest shooting game - we have the user as as one character , and we have the computer as the second character, also we have to keep all the GUI on and all of them has to work in the backend simultaneously in order to make the game playable.

so how games like this are built in C ? how do your make your code do several things at once?