Adds a continuous mode with some suggested UI changes to accommodate. A new entry field was added to allow the user to enter a custom delay. If the field is empty or contains garbage a default of 500 ms is used.
Restructures the turn-by-turn mode function so that run_sim is called for every turn, rather than all at once. This isn't a necessary change, but it brings it's function in line with the new continuous mode. This obviates the need for run_sim to have a "number of turns to run" parameter. Currently leaving it because it might be useful later or we might want to fall back.
Also, I fixed an error in the show map of advanced config. Line 27 was giving an error on the number of arguments. Explicitly assigning self to master fixed the issue.
Adds a continuous mode with some suggested UI changes to accommodate. A new entry field was added to allow the user to enter a custom delay. If the field is empty or contains garbage a default of 500 ms is used.
Restructures the turn-by-turn mode function so that run_sim is called for every turn, rather than all at once. This isn't a necessary change, but it brings it's function in line with the new continuous mode. This obviates the need for run_sim to have a "number of turns to run" parameter. Currently leaving it because it might be useful later or we might want to fall back.
Also, I fixed an error in the show map of advanced config. Line 27 was giving an error on the number of arguments. Explicitly assigning self to master fixed the issue.