I will make so it detects when all the cubes are at the right place and about the undo button, it is a harder future to implement(for me) but I can try ,I think many people would like that.Also,I got a question,have you manage to get a rainbow score?