The code in
while True: ... from vars import field, game, screen, ai ...
vars.py the variables
ai get defined.
The first time the program runs it works fine, however the next time the variables don't change and the program breaks.
How do I fix this?