To stop the blobs from reaching the red arrow at the end of the maze. To do so you will need to build towers. The more your tower matches a blob, the better it can destroy it.
Instruction:
Use YOUR MOUSE and click the + and - buttons to combine colors and then click Build button and place the tower over a black squares on the map.