In my version of Realm Rush (named Aliens&Castles in a spark of originality) I’m taking the BFS pathfinding one step further and implementing a “danger level” for the different paths depending on how many defensive towers are laid out along them. As the following gif shows for the green path, enemies will always try to look for the least dangerous, but still shortest, path. This forces players to strategize their tower placement.
Apart from regular enemies, I want to implement enemies with weapons that will do the complete opposite: calculate the most dangerous paths to exclusively destroy towers.
So far it’s looking nice!