The goal is to get the yellow block to the exit on the right, the other blocks need to be moved in order to make the path, you are unable to move a block if another blocks it’s path.
My question is this
How should the reader control the direction of the blocks?
Using arrows to allow the reader to move the block one square at a time in the direction they desire.
Tapping on the block allowing it to move 1 square at a time but in one direction only eg tapping the light blue block will move one square at a time until it reaches the right side of the grid before traveling backwards (left)
Dude, my brain
This obviously would depend on the solution, but rather than tapping the block moving one space, to save your sanity, could tapping the block auto-move it to as far in the other directing as possible? Like if you tap the dark blue one in your example, it moves all the way up because that’s as far as it can go. Then if you tapped the yellow one, it would stop when it hits the red one?
Doesn’t look like that’s possible the coding relies on using if, else and the points system and unfortunately I’d need 2 conditions to make the same move but unfortunately don’t think we can do that for example lets say the dark blue block was at the too of the screen. In order for it to go to the bottom it would need the following,
If (column4-6 =0) {
Blueblock shifts to (shift number)
}
But this also depends on where the blue block is and weather I need it to travel up or down so I would also need to add points to the blue block to give it instructions in which way to travel. So example
if (Blueblock =0) { @overlay blueblock shifts to (shift number up)
}
Else {
Blueblock (shift number down)
}
But the conditions for the travel direction and the column conditions (if anything is blocking it) would need to go together.
I don’t even know if this would work using the other methods either
But a massive thank you it’s always nice to have suggestions xx