Schrodinger's Tank

Get Started. It's Free
or sign up with your email address
Schrodinger's Tank by Mind Map: Schrodinger's Tank

1. EXPLORE_LEADER

1.1. flag count > 0

1.1.1. true

1.1.1.1. tank count > 4

1.1.1.1.1. true

1.1.1.1.2. false

1.1.2. false

1.1.2.1. DO: EXPLORE

2. for any movement

2.1. path exists

2.1.1. true

2.1.1.1. go to target

2.1.2. false

2.1.2.1. path exists ignore tank

2.1.2.1.1. true

2.1.2.1.2. false

3. EXPLORE_FOLLOWER

3.1. flag count > 0

3.1.1. true

3.1.1.1. SWITCH: FETCH

3.1.2. false

3.1.2.1. distance to explore leader > 2

3.1.2.1.1. true

3.1.2.1.2. false

4. DANGER (generic)

4.1. enemy in range

4.1.1. true

4.1.1.1. enemy in range is targeted

4.1.1.1.1. true

4.1.1.1.2. false

4.1.2. false

4.1.2.1. ally attacking

4.1.2.1.1. true

4.1.2.1.2. false

5. RETREAT (generic)

5.1. at base

5.1.1. true

5.1.1.1. health < max

5.1.1.1.1. true

5.1.1.1.2. false

5.1.2. false

5.1.2.1. health < 7

5.1.2.1.1. true

5.1.2.1.2. false

6. RETURN

6.1. has flag

6.1.1. true

6.1.1.1. distance to closest ally > 13 at base

6.1.1.1.1. true

6.1.1.1.2. false

6.1.2. false

6.1.2.1. SWITCH: FETCH

7. FETCH

7.1. has flag

7.1.1. true

7.1.1.1. SWITCH: RETURN

7.1.2. false

7.1.2.1. distance to closest ally > 13

7.1.2.1.1. true

7.1.2.1.2. false

8. Avoid enemies