rabbit-escape
rabbit-escape copied to clipboard
Bug: If I type "exit" after entering a level (in text mode) nothing happens
The second time I type exit, it exits as expected.
I only see this problem if "exit" is the first thing I type after seeing the level.
I think you need to type exit twice, even if exit is not the first thing you type.
Weird.
Must have been caused by my code that lets you step past the end in certain circumstances.
(which I hate)
If I remember correctly, exit followed by any command exits. I usually type exit [enter] [enter] to do the equivalent of explode all.
Side note, is exit the equivalent of explode all?
InputHandler line 47 suggests that is the intention.
just tried on med 18. I got the one required rabbit out the exit. exit[enter][enter] This tells me I won, which is good. However, the solution reported back is :solution.1=bash;(15,4);block;(17,4);bridge;14;(16,4);21 which will not work, as there is nothing to kill the blocker. we need an explodeall or exit command or something.
Yes, good points.
Side note, is exit the equivalent of explode all?
I implemented it a bit like that for convenience, but it strikes me that actually it should be.
I think we should support explodeall
, with exit
as an alias. I also think the text UI should step until the level is finished (which should be 1 step, but somehow sometimes seems to be 2?) after you've typed it.
I think ExpandAbbreviations could help with expanding 'exit' to 'explodeall'.
Me too.
(And I'm happy with exit
only being available in command line mode, not an official solution command.)