This could be either because:
for each 3 cannons one ammo building is needed (the other orange building). which is poorly communicated by me.
there is a bug at the part that checks all the buildings and their connections which miscounts. Which is bad coding by me
or could be something that I'm not even aware of.
thanks for checking it out <3