Skip to content

five-on-it / packages/ai/src/seat-bot / SEAT_BOT

Variable: SEAT_BOT ​

const SEAT_BOT: object

Defined in: packages/ai/src/seat-bot.ts:60

The distances and times a seat bot goes by.

Type Declaration ​

arrive ​

readonly arrive: 1.2 = 1.2

On foot, a place this near is reached (m).

boardBeyond ​

readonly boardBeyond: 40 = 40

A robber on foot takes a free car when its next place is farther than this (m)…

boardRange ​

readonly boardRange: 30 = 30

A crew bot in its own car gets out to board its human's within this distance of it (m).

carReach ​

readonly carReach: 8 = 8

A driver gets out this near a place it walks the rest of the way to (m).

driveGap ​

readonly driveGap: 8 = 8

A crew bot driving after its human keeps this gap (m).

fleeGoalShare ​

readonly fleeGoalShare: 0.5 = 0.5

How much of a fleeing robber's heading is still its goal's (the rest away from the chaser).

fleeRange ​

readonly fleeRange: 40 = 40

A robber on foot runs from a chaser this near (m).

followRange ​

readonly followRange: 6 = 6

A crew bot on foot keeps this near its human (m).

freeCarRange ​

readonly freeCarRange: 25 = 25

…and the car this near (m).

holdSeconds ​

readonly holdSeconds: 1.5 = 1.5

Seconds a robber stays at a place pressing the interaction key, before it heads for the next.