Originally they were just there to block your way to the wheels, and you had to push/pull them so you could get past them. Only I found out that if I made them blocking, Gurok's maze code didn't show them, and if you couldn't see them then you could not click on them to interact. So I made a quick change and made them to be "plug them into the wall socket to release each one the wheels". The only thing that have no logic here, is to figure out how and which is the first block to plug... the others just then slide into place (sorta). Here there is no logic, I just decided that was the 1st one, then the 2nd the 3rd and the 4th. Kind of the same way for which wheel works first, second, etc...
There is one change that I thought about making, but decided not to (because the puzzle was already so buggy, that I was afraid of breaking it again if I changed it). And that was to make the 1st block lock all other 3 blocks into place at the same time. So that you had to align all the other 3 blocks first and then push the 1st one into place. But the possibilities of this breaking the game was too much, that I chickened out and decided to leave it as is.
An no, all blocks move in a per-determined way, none moves randomly.
