Transpiled version (1654L) is out of date.
!752 static BigInteger points; p { load("points"); } answer { if (match("plus one", s) || match("good", s) || match("nice", s) || match("nice one", s) || match("gut", s) || match("jawohl", s)) { plusPoint(); ret "OK"; } if (match("how many points you got", s) || match("wie viele punkte", s)) ret str(points); } static void plusPoint() { points = points.add(bigint(1)); log("+1"); save("points"); } static void log(S s) { print(s); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002952 |
Snippet name: | Simple Point Bot (UNUSED) |
Eternal ID of this version: | #1002952/1 |
Text MD5: | 71e564637a6d8908d3ec296c51faad3a |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-04-10 18:38:58 |
Source code size: | 510 bytes / 30 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 504 / 559 |
Referenced in: | #1002953 - Simple Point Bot (include) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |