I have been working on another ice project for the last few days, this time i am trying to make a bomb defusing simulator. Here is my code so far:
prgmBOMBSPRT:

Code:

minY32,24,"F8F8E1E1E1E1F8F8E1E1E1E1F8F8E1E1E1E1F8F8E1E1E1E1F8F8E1E1E1E1F8F8F8E1E1B5B5E1E1E1E1B5B5E1E1E1E1B5B5E1E1E1E1B5B5E1E1E1E1B5B5E1E1F8F8A0E1E1B5E1C0A0E1E1B5E1C0A0E1E1B5E1C0A0E1B5E1E1C0A0E1B5E1E1C0F8F8A0C0E0E094C0A0C0E09494C0A0C0E094E8C0A094E0E0E8C09494E0E0E8C0F8F8A0C0E0E0E89494C0E0E0E8949494E094E89494C0E0E09494A0C0E0E0E8C0F8F8A0C0E0E0E8C0A0949494E8C0A094949494C0A0C09494E8C0A0C0E0E0E8C0F8F8A0C0E0E0E8C0A0C0E0E0949494C09494E8949494E0E0E8C0A0C0E0E0E8C0F8F8A0C0E0E0E8C0A0C0E0E0E8C0A0C094E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0F8B4A0C0E0E0E8C0A0C00000000000000000000000000000E8C0A0C0E0E0E8C0D5B4B5D5F5F5F5F5F5F50000000000000000000000000000F5F5F5F5F5F5F6F5D5B4B5D5F5F5F5F5F5F50000000000000000000000000000F5F5F5F5F5F5F6F5D5B4B5D5F5F5F5F5F5F50000000000000000000000000000F5F5F5F5F5F5F6F5D5B4B5D5F5F5F5F5F5F50000000000000000000000000000F5F5F5F5F5F5F6F5D5B4B5D5F5F5F5F5F5F50000000000000000000000000000F5F5F5F5F5F5F6F5D5F8B5D5F5F5F5F5F5F50000000000000000000000000000F5F5F5F5F5F5F6F5F8F8A0C0E0E0E8C0A0C00000000000000000000000000000E8C0A0C0E0E0E8C0F8F8A0C0E0E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0F8F8A0C0E0E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0A0C0E0E0E8C0F8F8A0C0E0E0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det(11,1
checkTmr(startTmr
Repeat getKey(15

If getKey(4
Y-3→Y
End
If getKey(3
X+3→X
End
If getKey(1
Y+3→Y
End
If getKey(2
X-3→X
End

det(76
det(63,BOMB,0,0,10,10

det(2,225
det(36,100,150,30,2
det(2,24
det(36,145,150,30,2
det(2,7
det(36,190,150,30,2

det(2,0

If RED=1
det(36,110,150,10,2
End
If BLU=1
det(36,155,150,10,2
End
If GRN=1
det(36,200,150,10,2
End

det(19,98,90
det(15,10000000-startTmr*32,8

If getKey(54
If X≥100 and X<121 and Y≤152 and Y≥125
1→RED
End
If X≥145 and X<166 and Y≤152 and Y≥125
1→BLU
End
If X≥190 and X≤211 and Y≤152 and Y≥125
1→GRN
End
det(63,SCC,X,Y,3,3
Else
det(63,SCO,X,Y,3,3
If X≥100 and X<121 and Y≤152 and Y≥125 and RED=0
det(2,225
X→I
Repeat det(7,I,151)≠225
I+1→I
End
I-1→I
Repeat det(7,I,151)=225
det(36,I,150,10,2
I+1→I
End
End
If X≥145 and X<166 and Y≤152 and Y≥125 and BLU=0
det(2,24
X→I
Repeat det(7,I,151)≠24
I+1→I
End
I-1→I
Repeat det(7,I,151)=24
det(36,I,150,10,2
I+1→I
End
End
If X≥190 and X≤211 and Y≤152 and Y≥125 and GRN=0
det(2,7
X→I
Repeat det(7,I,151)≠7
I+1→I
End
I-1→I
Repeat det(7,I,151)=7
det(36,I,150,10,2
I+1→I
End
End
End

det(11,1
End
det(1


Also the lag that you see is from me pressing the arrow and letting go quickly it is not actually lag it is just me trying to position the scissors for a demonstration
As you can probably tell time timer doesnt work AT ALL but the wires work perfectly.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement