Greetings everyone. I just jumped into Python for the first time this weekend and I'm finding it to be a very easy and enjoyable learning process. This forum has been particularly useful for finding code snippets and answers to questions that I ran into and others had posted about. So that's why I'm here, now posting for the first time.
If you've ever played a MUD before, or even a game like World of Warcraft, the game world is always moving. It's alive. How do you do that? For my arena game everything progresses as a result of a user action. But I would really love to know how to make it so that if I am in my arena game, and I don't do anything, that my computer-controlled opponent would still be attacking me.
I think I understand the idea of what I'm talking about in terms of programming, but I have no idea how to actually code it. Rather than creating a loop that stops during each cycle in order to get user input, the loop would have to continue processing over and over while keeping an eye out for user input and also while managing computer-controlled items/beings/etc. Hence the idea that the game world is living in some way.
Thanks in advance for any responses, and for the great forum/site as well!