Libraryless. Click here for Pure Java version (1902L/14K/43K).
!759 !include #1002412 // Turing static void tests() { cmds(); } static L<S> allcmds = litlist("load", "save", "run", "go", "quit"); static void cmds() { twice { L<S> cmds = selectRandom(allcmds, 3); int pivot = rand(l(cmds)); S x = cmds.get(pivot); S input = x.substring(0, 1); add("If the available commands are " + quote(cmds.get(0)) + ", " + quote(cmds.get(1)) + " and " + quote(cmds.get(2)) + ", which command is " + quote(input) + " likely to mean?", x); } }
Began life as a copy of #1002413
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment