Defend the castle with trig!