0 Members and 1 Guest are viewing this topic.
That seems nice. I gave up after 15 minutes, though, because I could no longer figure out how to solve the puzzle anymore X.x
I was so inspired by this that I made my own version (with 5 blocks) for my Homescreen Game Pack.
Oh, and forgot to tell you: I haven't actually added win detection yet. Just know that when you move all the blocks to the right side, you win
Quote from: Deep Thought on November 17, 2010, 10:34:32 amOh, and forgot to tell you: I haven't actually added win detection yet. Just know that when you move all the blocks to the right side, you win If you're using a matrix, you can use the detection that I use in HGP if you like. You could also do it with pxl-Test()
Nope, three lists. It should be pretty easy to detect (just an If not(sum(not(L3 statement).
I start with [A] looking like this:1,0,02,0,03,0,04,0,05,0,00,0,0And then I check like this:1For(D,1,5Ans(D=max([A](D,2),[A](D,3EndIf this is still 1, then you win!
Edit:Quote from: Deep Thought on November 17, 2010, 06:28:41 pmNope, three lists. It should be pretty easy to detect (just an If not(sum(not(L3 statement).That could be If prod(L3,1,dim(L3
Quote from: ztrumpet on November 17, 2010, 07:10:58 pmEdit:Quote from: Deep Thought on November 17, 2010, 06:28:41 pmNope, three lists. It should be pretty easy to detect (just an If not(sum(not(L3 statement).That could be If prod(L3,1,dim(L3Oh, right, didn't think of that. It's been a long time since I've tried using another command...Wouldn't If prod(L3 work too?