This is my game, I've been working on it for the last four years. All npcs have a rudimentary AI that allows them to progress like players, leveling up and increasing their stats. They will also occasionally form teams/groups (normally aggressive to all other npcs), based on might/score. Try it out.