|
计算器程序
程序名称: |
消灭T |
平台: |
fx-5800系列 |
系统/软件要求: |
能编程 |
版本号: |
|
类型: |
游戏 |
作者: |
efeks |
大小(K): |
1 |
更新日期: |
2011-02-10 |
描述: |
很很很很很囧的一个游戏,就是看见 T 在那一行上,就发射哪一行的子弹,打中T加分,打不中没分,半秒不打就GAME OVER 总共能发10次 没空闲的练反应用的 |
已知缺陷: |
发射时 按键不能过于短促,不然有时候发不出去 |
源代码: |
开源/部分开源 |
本帖最后由 efeks 于 2012-2-11 09:12 编辑
Clrmemory
"[":"[":"[":"["
Lbl 0
If B≥10
Then Goto 5
IfEnd
RanInt#(3,14)->X
RanInt#(1,4)->Y
Locate X,Y,"T"
For 1->A To 5
If Getkey=31
Then Goto 1
IfEnd
If Getkey=21
Then Goto 2
IfEnd
If Getkey=35
Then Goto 3
IfEnd
If Getkey=25
Then Goto 4
IfEnd
Next
Goto 5
Lbl 1
B+1->B
For 1->A To 16
Locate X,Y,"T"
Locate A,1," =>" 就是程序里面的那个条件符号
根号9 延时用的……
If (A+1)=X And Y=1
Then S+10->S
Break
IfEnd
Next
Cls
"[":"[":"[":"["
Goto 0
Lbl 2
B+1->B
For 1->A To 16
Locate X,Y,"T"
Locate A,2," =>"
根号9
If (A+1)=X And Y=2
Then S+10->S
Break
IfEnd
Next
Cls
"[":"[":"[":"["
Goto 0
Lbl 3
B+1->B
For 1->A To 16
Locate X,Y,"T"
Locate A,3," =>"
根号9
If (A+1)=X And Y=3
Then S+10->S
Break
IfEnd
Next
Cls
"[":"[":"[":"["
Goto 0
Lbl 4
B+1->B
For 1->A To 16
Locate X,Y,"T"
Locate A,4," =>"
根号9
If (A+1)=X And Y=4
Then S+10->S
Break
IfEnd
Next
Cls
"[":"[":"[":"["
Goto 0
Lbl 5
Cls
Locate 5,1,"GAME OVER"
Locate 5,2,"SCORE"
Locate 11,2,S |
|