There are 20 levels in all, most of which involve simply trying to defend against a small number of waves of enemies (though each wave is quite large and can include multiple enemy types), but there's the occasional level that
mixes thing up a
bit, such as
bosses that must be destroyed before they spawn enough minions to overwhelm you.