Direct the groups of ants into the cave by giving particular ants their roles. Try not to let the ants fall high cliffs and try not to let them drown.
A strategy to this game is to try and think ahead what roles you need them to do and at what particular time. You have a limited amount of roles you can give to ants so think carefully.
Click the role you want to give to the ant. Click the ant.