LineEight

Five colours to start. Sixteen by the end. How many moves can you survive?

Score is the number of moves you make.