Written in ICE, and freaks out when I run it. I don't know why, please assist.

Code:

CONWAY
det(0)
det(5,0
For(X,1,20)
For(Y,1,10)
0→L₆((Y-1)*10+X)
End
End
For(X,5,7)
1→L₆(50+X)
End
0→G
det(2,255
For(X,1,20
For(Y,1,10
If L₆((Y-1)*10+X)=1
det(36,(X-1)*16,(Y-1)*16,16,16
End
End
End
Pause
Repeat G=15
Pause 100
For(A,1,200)
0→L₅(A)
End
For(X,1,20)
For(Y,1,10)
0→A
For(N,X-1,X+1)
For(O,Y-1,Y+1)
If L₆((O-1)*10+N)=1
A+1→A
End
End
End
If A=3 or (A=2 and L₆((Y-1)*10+X)=1)
1→L₅((Y-1)*10+X)
End
End
End
For(A,1,200)
L₅(A)→L₆(A)
End
det(5,0
det(2,255
For(X,1,20
For(Y,1,10
If L₆((Y-1)*10+X)=1
det(36,(X-1)*16,(Y-1)*16,16,16
End
End
End
getKey→G
End
det(1)
  
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