UV order for material on a 3d object

I build a little tetrisy thing i blender for a projection mapping and i want run a little snake animation across it as shown with the green line in the screenshot, is there an easyer way than to figure put which square is what and so on and align everything manually?

an help is appretiated.

Thanks in advance.