Browse Source

moved tick modulator so it WORKS.

master
EtherealEntity 3 years ago
parent
commit
eef796b2c6
  1. 4
      main.py

4
main.py

@ -105,14 +105,14 @@ def tick(t):
man.curr = nextSquare(man, grid)
grid[cp[0]][cp[1]].occupant = None #they move out of there
grid[man.curr[0]][man.curr[1]].occupant = i
if done:
if done and toad >= len(passengers):
print("Final Tick: " + str(t));
exit()
def run():
t = 0
while 1:
t += 1
tick(t)
t += 1
run()

Loading…
Cancel
Save