ruby-warrior icon indicating copy to clipboard operation
ruby-warrior copied to clipboard

Quickrun command?

Open scottswezey opened this issue 15 years ago • 3 comments

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]

scottswezey avatar Jan 02 '10 11:01 scottswezey

On second thought, I found a ticket showing a similar request.

It seems "rubywarrior -s -t 0" does what I want just fine.

scottswezey avatar Jan 02 '10 11:01 scottswezey

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!

ryanb avatar Jan 02 '10 18:01 ryanb

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.

ghost avatar Feb 17 '12 16:02 ghost