Create your own awesome maps

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account?
Log In

Schrodinger's Tank by Mind Map: Schrodinger
0.0 stars - reviews range from 0 to 5

Schrodinger's Tank

for any movement

path exists

true, go to target

false, path exists ignore tank, true, tank is enemy, true, attack tank (threat level 3), false, has flag, true, go to target and broadcast movement, false, received movement broadcast, true, distance from tank < 3, true, blocking movement target, true, move back from tank, false, wait, false, go to target, false, go to target, false, wait

EXPLORE_LEADER

flag count > 0

true, tank count > 4, true, map explored > 75%, true, SWITCH:FETCH, false, DO: EXPLORE_LEAD, false, SWITCH: FETCH

false, DO: EXPLORE

EXPLORE_FOLLOWER

flag count > 0

true, SWITCH: FETCH

false, distance to explore leader > 2, true, DO: FOLLOW EXPLORE LEADER, false, DO: NOTHING

DANGER (generic)

enemy in range

true, enemy in range is targeted, true, DO: ATTACK TARGETED, false, DO: ATTACK LOWEST HEALTH

false, ally attacking, true, distance <= Max(10, firing range), true, within firing range, true, DO: ATTACK TARGET, false, DO: GO TO TARGET, false, NULL, false, NULL

RETREAT (generic)

at base

true, health < max, true, DO: NOTHING, false, NULL

false, health < 7, true, DO: GO TO BASE, false, NULL

RETURN

has flag

true, distance to closest ally > 13 at base, true, DO: NOTHING, false, distance to base < 10, true, DO: GO TO BASE, false, distance to closest ally with flag > 3 && < 13, true, is lowest id with flag, true, DO: NOTHING, false, DO: GO TO CLOSEST ALLY, false, DO: GO TO BASE

false, SWITCH: FETCH

FETCH

has flag

true, SWITCH: RETURN

false, distance to closest ally > 13, true, DO: NOTHING, false, flag count > 0, true, distance to flag < 5, true, DO: GO TO FLAG, false, distance to closest ally without flag > 4 && < 14, true, is lowest id without flag (+1 if tank count > 4 and map explored < 75%, true, DO: NOTHING, false, DO: GO TO CLOSEST ALLY, false, DO: GO TO FLAG, false, SWITCH: EXPLORE_LEADER

Avoid enemies