Skip to content

Instantly share code, notes, and snippets.

@kb10uy
Created July 21, 2014 13:27
Show Gist options
  • Save kb10uy/55ed633f9aa6ac0cb982 to your computer and use it in GitHub Desktop.
Save kb10uy/55ed633f9aa6ac0cb982 to your computer and use it in GitHub Desktop.
プチコンでSTAP細胞探すやつ
ACLS
N=1
H=0
@START
C$=""
FOR I=0 TO 3
C$=C$+CHR$(RND(26)+65)
NEXT
COLOR RND(12)+3
PRINT C$+" ";
IF C$=="STAP" THEN GOTO @OK
IF N=524277 THEN H=H+1:N=-1
N=N+1
GOTO @START
@OK
COLOR 0
PRINT "STAPサイボウ ハッケン:";
PRINT H;
PRINT "*524288+";
PRINT N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment