3 ms·
You can solve this sort of thing relatively easily by checking if the player keeps entering the same position with no change in state (and no user interaction).
by johnfn 9y ago
You can solve this sort of thing relatively easily by checking if the player keeps entering the same position with no change in state (and no user interaction).
Vim does the same sort of thing when you do 999999j (or more sophisticated things like repeating a macro a billion times).