Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

53
LINES

< > BotCompany Repo | #1001492 // Self-moving OS Sensor

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2515L/17K/54K).

!747

!1000805 // awt
!image classes

m {
  !include #1001425 // ShowBigText
  
  static S os;
  static boolean wtf;
  
  p {
    readLocally("os");
    new ShowBigText sbt;
    sbt.title = "OS Sensor";
    if (os != null) sbt.showText(os + "!");
    
    for (int n = 0; n < 2; n++) {
      S theOS = getOS();
      if (os != null && !eq(os, theOS)) {
        for (int i = 0; i < 3; i++) {
          wtf = true;
          sbt.showText("WTF!");
          sleepSeconds(1);
          sbt.showText(os + "!");
          sleepSeconds(1);
          sbt.showText(theOS + "!");
          sleepSeconds(1);
        }
        wtf = false;
      }
      
      if (!eq(os, theOS)) {
        os = theOS;
        saveLocally("os");
        sbt.showText(os + "!");
      }
      
      sleepSeconds(5);
    }
    
    // Move!
    
    hyperMove("teubizvjbppd", "dhtvkmknsjym");
    System.exit(0);
  }
  
  static S getOS() {
    if (isAndroid()) ret "Android";
    if (isMac()) ret "Mac OS";
    if (isWindows()) ret "Windows";
    ret "Linux"; // Everything else is Linux... Yeah it's generous :)
  }
}

Author comment

Began life as a copy of #1001468

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

Snippet ID: #1001492
Snippet name: Self-moving OS Sensor
Eternal ID of this version: #1001492/1
Text MD5: 9de1ebf527e176764ab350d05649def7
Transpilation MD5: 61ec10c090fd22806633d80287ffc6df
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-19 18:35:44
Source code size: 1141 bytes / 53 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 575 / 672
Referenced in: #3000106 - Data zip of #1001492 on teubizvjbppd at 1445272581741
#3000107 - Data zip of #1001492 on dhtvkmknsjym at 1442189683400
#3000108 - Data zip of #1001492 on teubizvjbppd at 1445272651236
#3000109 - Data zip of #1001492 on dhtvkmknsjym at 1442189751367
#3000110 - Data zip of #1001492 on dhtvkmknsjym at 1442191033451
#3000111 - Data zip of #1001492 on teubizvjbppd at 1445355076631
#3000112 - Data zip of #1001492 on dhtvkmknsjym at 1442191112765
#3000113 - Data zip of #1001492 on teubizvjbppd at 1445362407721
#3000114 - Data zip of #1001492 on dhtvkmknsjym at 1442191969156
#3000115 - Data zip of #1001492 on teubizvjbppd at 1445362481168
#3000116 - Data zip of #1001492 on dhtvkmknsjym at 1442192041971
#3000190 - Answer for stefanreich(>> t 20 questions)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)