Avalon Last Stand
You are in a role of great magician who, from his tower, is trying to defend the last standing human city.
By killing monsters you gather mana to research new spells. When you level up, you chose a new spell to learn and later use it to more effectivly combat the monsters.
As Always, Good Luck and Have Fun.