Zombie defense game: hold the base

Zombies come at your base from every side, wave after wave. Your heroes shoot on their own, you pick upgrades after each wave, spend coins on levels and unlock new heroes. Every few waves a boss shows up. Lost the base? Upgrade and go again. While you are away the base keeps earning, so there is always something to collect.