ruby-warrior
ruby-warrior copied to clipboard
Quickrun command?
It might be useful to have a mode that skips all of the normal output and tells us how many turns it took, if we missed anything important, if we actually lived, etc.
I figure that we can test our changes quickly, and we can always run it normally if we need to see what's going on.
I envision something like: prompt$ rubywarrior --quick-run Success! You have found the stairs after 17 turns. You missed 1 captive. Level Score: 38 Time Bonus: 16 Total Score: 285 + 54 = 339 Would you like to continue? [yn]
On second thought, I found a ticket showing a similar request.
It seems "rubywarrior -s -t 0" does what I want just fine.
Since this is the second time this has been mentioned I think I will add an option for it which basically does the same as -s -t 0
.
Also I notice you added "You missed 1 captive." to the output which I think is also a great addition. Thanks!
It seems that the output is intentionally slowed to allow easier reading. Perhaps a parameter that speeds up the output but doesn't modify it? This would be very useful.