Skip to main content
Back to blog
Game Dev AI

AI for NPCs: 6 competitor personalities in a tycoon game

How we designed 6 AI competitors with distinct personalities for Build Your Empire — decision weights, aggressiveness and attack mechanics.

JM
Javier Manzano
CTO & Co-founder • September 21, 2026
AI for NPCs: 6 competitor personalities in a tycoon game

A tycoon without competition is a spreadsheet with nice graphics. The AI competitors in Build Your Empire are designed so that each game feels different, with rivals that make decisions based on their “personality”.

The personality model

Each competitor has 4 parameters:

interface CompetitorPersonality {
  aggressiveness: number;  // 0.0-1.0: probability of attacking
  hireBias: number;        // Weight towards hiring
  launchBias: number;      // Weight towards launching products
  marketingBias: number;   // Weight towards marketing
}

The 6 competitors

CompanySectorStyleAggressiveness
Nebula SystemsSaaSAggressive — hires non-stop0.8
Kairos FinanceFintechBalanced — a bit of everything0.5
Vortice GamingGamingChaotic — bets on launches0.7
Pagina AzulE-commerceConservative — marketing and brand0.3
Forja CiberseguridadCyberDefensive — grows slow but sure0.2
Rayo DeliveryDeliveryOpportunist — copies what works0.6

Decision making

Each day, the engine evaluates for each competitor:

  1. Got enough cash? — If cash < $20K, does nothing
  2. Which action? — Weighted random based on their bias
  3. Attack the player? — Probability = 15% × aggressiveness

The weighted random works like this: if Nebula has hireBias=0.5, launchBias=0.3, marketingBias=0.2, there’s a 50% chance it hires, 30% it launches and 20% it does marketing.

Attack mechanics

When a competitor attacks (15% × aggressiveness per turn):

  • 50% talent theft — player loses 1 employee
  • 50% innovation sabotage — player loses innovation points

This creates tension moments: you see in the notification bar “Nebula Systems stole one of your employees” and you have to decide whether to counter-attack by hiring or ignore it.

Bankruptcy

If a competitor reaches cash ≤ 0, they go bankrupt. They’re removed from the game and a notification appears. This reduces competition but also interactions — an interesting trade-off for the player.

What we learned

  1. Clear personalities > complex AI — you don’t need neural networks, just well-chosen weights
  2. Aggressiveness is the most important parameter — it creates narrative tension
  3. Players name their rivals — “Nebula always steals my people” generates emotional engagement
  4. Bankruptcy is satisfying — seeing an aggressive rival fall is a mini-achievement
  5. Balance between competitors matters — if all are aggressive, the game is frustrating

Face the 6 rivals →

Don't miss a thing

JM

Javier Manzano

CTO & Co-founder at Soamee

Passionate about technology and software development. Sharing knowledge and experiences to help other developers grow.

Did you enjoy this article?

If you need help with your development project, we are here for you.

AI for NPCs: 6 competitor personalities in a tycoon game

Tell us your challenge. We'll propose a solution.

No commitment. Within 24 hours, you'll receive a proposal with scope, timeline and budget. No fine print.

Book a free call →