Skip to content

Bots vs Humans

Asymmetric: humans vs. engine-spawned bots. Survive the bot rush.

  • Humans (blue) are the joined WebSocket players.
  • Bots (red) are spawned automatically by the engine — one bot per human player.
  • Bots chase the nearest human. Touching a human eliminates them.
  • Humans must avoid bots and ride out the timer (or survive everyone else).
  • 1+ humans (every human gets a bot).
  • Place the Arena to bound the chase.
  • Humans win when all bots have been eliminated (if the game supports human counter-attack) or when the timer runs out and at least one human is alive.
  • Bots win when all humans are eliminated.
  • Bots are slightly slower than a sprinting human — keep moving.
  • Use map edges and zone corners to break line-of-sight.

The showcase for bots and asymmetric teams; featured in Tutorial: add a bot opponent.

  • Demonstrates: teamAssignment to pin humans to a team, a behavior tree dispatching on a behavior state string, rules that flip that state by health (chase ↔ retreat), random_action battles, and a health-pickup item.
  • Source: apps/wage-engine/src/games/bots_vs_humans/game.json