Fun concept! I like the fast-paced strategy aspect. The castles seem to reset the level sometimes when trying to upgrade them.
Thanks for playing! I've literally just discovered this myself and am furiously bug fixing as I type!
Found and fixed!