阅读背景:

如何在Python中同时运行两个while循环?

来源:互联网 

I am new to Python and using Zelle's graphics to create a game. I need the two while loops below to run at the same time, however I am running into difficulty. I tried nesting the while loops but then the horses and civilians would only move if the mouse was clicked, which I don't want. What I want is for the horses and civilians to always be moving, and the princess to move only when the mouse is clicked, and stop the game with a "game over" when she has saved 10 civilians.I am new to Python and using Zelle's graphics t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: