It is indeed a probabilistic algorithm, based on available towers and viking positions. We did not have time to expand it during the jam, so we will do research for a more complex algorithm if we revisit this project. Thanks for the feedback, hope you had fun playing our game!