The main task in the game Kingdom Wars Idle is demons destroy the castle.
Use mine for gold mining. Build a farm to produce energy.
Do not forget to improve your soldiers and buildings that would win.
At the beginning of the game you must collect gold and buy workers to harvest energy and gold.