最近把寒蝉看完了,话说其英文翻译竟然是WHEN THEY CRY而不是WHEN CICIDAS CRY……某种程度上也算是剧透一种……(顺便说一句CRY这个单词用红颜色字写的……)
50集全部看过以后,发现用一句话和一个BASIC程序就可以做到完全剧透了……
警告!!以下剧透出没注意!!以下程序源代码出没注意!!L5自重!不怕剧透请猛击
这不就是两个女生用S/L大法和金手指玩某AVG游戏嘛……只不过是自身也是游戏中的一部分而已……
整个过程的BASIC源代码表达如下:(毕竟是198x年的事了,当时还没JAVA和PHP之类的东西)
不怕程序代码者请继续点下去
- SUB COUNTER
- REM Set up a counter
- LET COUNTER=COUNTER + 1
- GOSUB "SET"
- SUB SET
- REM Set status to all main characters
- DATA (survive_rika, survive_rena, survive_k1, survive_mino, survive_shino, survive_satoko, survive_hanyu)
- READ (1,1,1,1,1,1,0)
- DATA (survive_jiro, survive_kyosuke)
- READ (1,1)
- REM Now setup a random variable
- LET RP=INT(RND) ; REM A integer between 0 and 1 will be created
- IF COUNTER>= 8 THEN GOSUB "SPECIAL" ELSE
- GOSUB "START"
- SUB SPECIAL
- LET RP=1
- LET survive_hanyu=1
- GOSUB "START"
- SUB START
- LET YEAR= 1983
- LET MONTH= 6
- FOR DAY=16 TO 30 STEP 1
- DATA (survive_rena, survive_k1, survive_mino, survive_shino, survive_satoko)
- READ (INT(survive_rena*RP),INT(survive_k1*RP), INT(survive_mino*RP), INT(survive_shino*RP), INT(survive_satoko*RP))
- NEXT DAY
- IF DAY = 30 THEN GOSUB "CONFRONT"
- SUB CONFRONT
- REM According to the series rules, if one of the main characters died before/after the Watanagashi Festival is a GAME OVER. Thus nothing further had been involved.
- IF survive_rena OR survive_k1 OR survive_mino OR survive_shino OR survive_satoko = 0 THEN PRINT "GAME OVER: MAIN CHARACTER DIED" ;GOSUB "COUNTER"
- INPUT "CONTINUE?(Y/N)";C$
- IF C$="N" OR "n" THEN END ELSE
- IF C$="Y" OR "y" THEN GOSUB "COUNTER" ELSE
- RETURN
- REM According to the anime itself, Hanyu is the "Last dim on the board"
- IF survive_hanyu=0 THEN survive_jiro=0 ; survive_kyosuke=0 ELSE GOSUB "LAST WORLD"
- LET survive_rika=0
- PRINT "GAME OVER: RIKA KILLED, 'LAST PROJECT' CARRIED OUT"
- INPUT "CONTINUE?(Y/N)";C$
- IF C$="N" OR "n" THEN END ELSE
- IF C$="Y" OR "y" THEN GOSUB "COUNTER" ELSE
- RETURN
- SUB LAST WORLD
- LET survive_rika=1
- LET MONTH = MONTH +1 ;DAY= 1
- PRINT "GAME OVER : GOOD ENDING"
- PRINT COUNTER + "Time loops had been created by Rika and Hanyu."
- PRINT "THANKS FOR PLAYING!"
- END
复制代码程序编译运行结果:(在QBasic上测试正常)
- GAME OVER: RIKA KILLED, 'LAST PROJECT' CARRIED OUT
- CONTINUE?(Y/N)y
- GAME OVER: MAIN CHARACTER DIED
- CONTINUE?(Y/N)y
- GAME OVER: MAIN CHARACTER DIED
- CONTINUE?(Y/N)y
- GAME OVER: MAIN CHARACTER DIED
- CONTINUE?(Y/N)y
- GAME OVER: RIKA KILLED, 'LAST PROJECT' CARRIED OUT
- CONTINUE?(Y/N)y
- GAME OVER: RIKA KILLED, 'LAST PROJECT' CARRIED OUT
- CONTINUE?(Y/N)y
- GAME OVER: MAIN CHARACTER DIED
- CONTINUE?(Y/N)y
- GAME OVER : GOOD ENDING
- 8 Time loops had been created by Rika and Hanyu.
- THANKS FOR PLAYING!
复制代码其实上还想写一个RP随着COUNTER增加而增加的IF判断的,不过看故事好像这两个变量关系不大……就算了。写出来竟然发现可以顺利编译运行,不过真的要达到和原著完全相同的结果……那就太随机了……
上面只包含了主要的人物……毕竟其他的人物要不生死固定,要不生死和故事无关,就算了。
0
0