Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75729

Your Projects :: RE: Tetris 3.0

$
0
0
Author: KermMartian
Posted: 03 Oct 2012 06:31:10 pm (GMT -5)

Well, you don't seem to be using R for anything. Shouldn't you have this?

Code:
If not(R:Then
For(I,0,2)
Pt-Off(~1+3(A+|LCPD(2I+1)),62-3(B-|LCPD(2I+2)),2)
End
For(I,1,6)
|LTPD(I)->|LCPD(I):End
For(I,0,2)
Pt-On(~1+3(A+|LCPD(2I+1)),62-3(B-|LCPD(2I+2)),2)
End
End
Assuming, of course, that R=0 means safe and R=1 means not safe. I'm a little confused about how this code is actually checking bounds; can you help explain, if my tip above isn't the solution?
_________________




Viewing all articles
Browse latest Browse all 75729

Trending Articles