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

19
LINES

< > BotCompany Repo | #1001182 // Talk Bot

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

Libraryless. Click here for Pure Java version (709L/6K/19K).

// Talk Bot just LOVES to communicate.

!747

m {
  static S computerID = getMyComputerID();
  static S i;
  
  p {
    i = "A Talk Bot On Computer " + computerID + ".";
    makeAndroid(i);
  }
  
  static synchronized S answer(S s) {
    if (match3("who are you?", s))
      return i;
    return "hm.";
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001182
Snippet name: Talk Bot
Eternal ID of this version: #1001182/1
Text MD5: 4379bad16abf400abf274e7b1719a880
Transpilation MD5: 7f230f1260ec474963498128220819e9
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-28 20:15:23
Source code size: 327 bytes / 19 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 514 / 545
Referenced in: [show references]