Libraryless. Click here for Pure Java version (1646L/11K/38K).
!747 m { static volatile long beatCount; static volatile int delay = 1000; static long booted; static volatile boolean loud = true; static int jumpEvery = 10; p { booted = now(); readLocally("beatCount"); makeAndroid3("Heart."); print("Beat count " + beatCount + ". Beating at 1/" + delay + " ms..."); while (true) { if (loud) print("beep!"); ++beatCount; saveLocally("beatCount"); if ((beatCount % jumpEvery) == 0) { nohupJavax(parseSnippetID("#1001351") + " " + programID()); print("Now I should be moved!"); sleep(); } sleep(delay); } } static synchronized S answer(S s, L<S> history) { if (match3("get beat count", s)) return "" + beatCount; if (match3("get delay", s)) return "" + delay; if (match3("booted when", s)) return "" + booted; return null; } }
Began life as a copy of #1001325
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, dhtvkmknsjym, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment