Please note that I already have a loop encompassing the entire program if the colours are detected in the correct order.
How about creating another loop for the failure case?
Start loop 1 (correct order)
Start loop 2 (wrong order)
Check for colours
If correct order
End loop 1 (correct order)
Do some other ...
Perhaps you need to add some hysteresis in your sensor loops. Each loop waits for a condition to be met, but then repeats infinity as long as that condition is met. Hysteresis means waiting for another condition to indicate that the sensor has returned to the original state and usually includes a deadband (meaning the positive trigger is not the same as the ...
I’ve had a quick look through the MindSqualls code and it looks like you can. I cannot test this however as I don’t have two kits.
Note: I believe it is preferred to NxtBrick class rather than McNxtBrick class as the latter is for a special program used for precise control over the NXT motors.
Could it be that there're parts missing in a LEGO box?
Rin Rio-Oki has pointed you to the place where you can definitely get replacement parts, but to answer your first question, yes, it is indeed possible, though the chances for it are negligible. In any case, you should let LEGO know about it via their official support channels (even if you are planning ...