Building a world for RPGs (Role Playing Games) has several steps to consider and two general approaches for implementing those steps. The general methods are top down and bottom up.
Cheat sheat for the warfare system in kingdoms n warfare by MCDM. Player facing cheat sheet. Originally posted on Reddit by u/UncleverKestrel. I have added and edited since.