You start with a level 1 castle. There are 10 regular upgrades, and then three more super powerful ones. With every upgrade, you collect gems faster and faster. To battle, you must buy knights with the gems you collect. The slider variables on the battle are percents and automatically subtract the soldiers you use from your total (evenly), so to evenly split your soldiers between the three flanks set the percents to 33, 50, 100.
once you go to battle, there is no back button. If you want to leave then just don't use any soldiers; there is no other penalty for loosing Only angels have the ability to directly attack the court yard, but they don't do as much damage as demons. Keep this in mind while choosing your path. soldiers on the walls have an automatic 15% advantage, but not killing them will give the enemy a 1% advantage each in the final courtyard battle when the game asks you if you want to use cannons, type in the first letter of whatever flank(s) you want to use it on (right, left, or gate). Cannons will kill all the soldiers on the selected flanks (although the gate takes two). You cannot win without using them. upgrading the mine gets you more stone and gems, the inn gives you a higher soldier capacity, and the houses increase your population. If you are confused on anything not listed here, please comment it some music, concepts, and artwork from @Shablam0_8 . program entirely by me.