adrien allard florian brulhart sebastien...

78
Adrien Allard Florian Brulhart Sebastien Broussaud Decision making in Endless Space 2

Upload: others

Post on 29-Mar-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Adrien AllardFlorian BrulhartSebastien Broussaud

Decision making in Endless Space 2

Page 2: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Background

Page 3: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Our Stud io

2011 2012 2013 2014 2015 2016 201712 Dev 20 Dev 30 Dev 40 60 Dev

Page 4: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Our 4X

Explore

Search points of interest

Discover the world

Gather Intel

Expand

Increase territory

Expand to new places

Exploit

Build / research

Gather resources

Optimize economy

Fight in battles

Unit management

War management

Exterminate

Asymmetric factions

Quests

Amplitude touch

Relation with players

Evaluate deals

Diplomacy

Page 5: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Post -mortem: Endless Legend

• Decisions are difficult to control

• AI doesn’t have global strategy

• Diplomatic relations can seem

irrational

Control

• Heuristic results are just numbers

• No access to intermediate

reasons

• Decision process is opaque

Understand Technical

• Code is spread and duplicated

• Code base is not incremental

friendly

• Tools are too complex

Page 6: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Object ives

• High level control

• Low level control

• Handle each resource

differently

For design

• Understand each decision

• Understand resource

allocation

• User friendly

For debugging For programming

• Incremental

• Allow different AI techniques

• Isolate data refining from

decision

Page 7: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

MeetE.N.F.E.R.

Page 8: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Process Over v iew

Game

SyncData

Analysis Tasks generation

Tasks allocationExecution

Page 9: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Process Over v iew

Game

Tasks generation

Tasks allocation

Page 10: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Tasksgeneration

Page 11: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

S i tuat ion

Page 12: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

Aaah, the Cravers are invading! The AI should definitely defend

its system here!

Page 13: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Goal

Defend system against enemiesDefend System

Page 14: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

Hum ok … but how do you defend the system?

Page 15: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

Details, schmetails… erm... well… you know… it could build

defenses or create ships.

Page 16: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Tasks

Defend system against enemiesDefend System

Create ships

Build defense

Page 17: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

Hum ok … but how does the AI decide which action to

take?

Page 18: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

Well, we're talking about Cravers. Insectoid, psycho, warmachines. We need the best defense against them.

Page 19: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Scor ing

Defend system against enemiesDefend System

Create ships 0.4

Build defense 0.8

Page 20: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

Oh, but I forgot, it's that crappy system we stole from the Lumeris

earlier. The AI shouldn't prioritise it.

Page 21: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Scor ing

Defend system against enemiesDefend System

Create ships 0.4

Build defense 0.8

Page 22: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Scor ing

Defend system against enemiesDefend System 0.5

Create ships 0.4

Build defense 0.8

Page 23: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Scor ing

Defend system against enemiesDefend System 0.5

Create ships

Build defense

0.2

0.4

Page 24: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Des igner needs

And one more thing! If the AI's planning a war against the Cravers in any case, ships should be preferred.

Page 25: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le reasons

Defend system against enemiesDefend System 0.5

Create ships 0.2

Build defense 0.4

Page 26: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le reasons

Defend system against enemiesDefend System 0.5

Create ships 0.2

Build defense 0.4

Attack Cravers 0.7Improve military power to attack

Page 27: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le reasons

Defend system against enemiesDefend System 0.5

Create ships

Build defense 0.4

Attack Cravers 0.7Improve military power to attack

0.5

Page 28: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le reasons

Defend system against enemiesDefend System 0.5

Create ships

Build defense 0.4

Attack Cravers 0.7Improve military power to attack

Reduce upkeep 0.9

0.5

Page 29: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le reasons

Defend system against enemiesDefend System 0.5

Create ships

Build defense 0.4

Attack Cravers 0.7Improve military power to attack

Reduce upkeep 0.9

0.3

Page 30: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Assoc iated too l

Page 31: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Post -mortem

• Ability to iterate before implementation

• Force separation between each decision step

• Improve decision debugging

• Feedback decision chains

• Understand decision at different granularity

Page 32: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Tasksallocation

Page 33: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Tasks a l locat ion

• Tasks in the game have costs

• Can I afford this task?

• Concurrence between tasks are due to shared resources

Build defense 0.3

Create ships 0.6

Context

Page 34: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

80

Tasks a l locat ion

• Tasks in the game have costs

• Can I afford this task?

• Concurrence between tasks are due to shared resources

100

Build defense 0.3

10Create ships 0.6

Context

Page 35: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Tasks a l locat ion

• Use motivation to split resources

• Task motivation must be independent from the cost

• Each resource has its own way of being split

• Handle tasks with multiple resources

Objectives

80

100

Build defense 0.3

10Create ships 0.6

Page 36: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

Tasks a l locat ion

0/80

0/100

Build defense 0.3

Create ships 0.6

Page 37: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

Tasks a l locat ion

0/80

0/100

Build defense 0.3

Create ships 0.6 100

allocator

Stock:

Page 38: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Tasks a l locat ion

0/80Build defense 0.3

Create ships 0.6

allocator

Stock: 0

Page 39: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Tasks a l locat ion

0/80Build defense 0.3

Create ships 0.6

allocator

Stock: 0

Page 40: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Tasks a l locat ion

0/80Build defense 0.3

Create ships 0.6

allocator

Stock: 0

Page 41: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Mult ip le resources

0/80Build defense 0.3

Create ships 0.6

Page 42: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Mult ip le resources

0/80Build defense 0.3

0

allocator

Stock:

Create ships 0.6

Page 43: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Mult ip le resources

0/80Build defense 0.3

0

allocator

Stock:

Create ships 0.6

Page 44: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Resource rea l locat ion

0/80Build defense 0.3

Create ships 0.6

Page 45: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

100/100

Resource rea l locat ion

0/80Build defense 0.3

Create ships 0.6 0

allocator

Stock:

Page 46: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

Resource rea l locat ion

0/80

0/100

Build defense 0.3

Create ships 0.6

allocator

Stock: 100

Page 47: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

0/10

Resource rea l locat ion

0/80

0/100

Build defense 0.3

Create ships 0.6

allocator

Stock: 100

Page 48: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

80/80

0/10

Resource rea l locat ion

0/100

Build defense 0.3

Create ships 0.6

allocator

Stock: 20

Page 49: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

80/80

0/10

Val idate tasks for execut ion

0/100

Build defense 0.3

Create ships 0.6

Page 50: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Assoc iated too l

Page 51: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Post -mortem

• Simplify the task generation by removing cost handling

• Handle concurrence between tasks

• Centralize allocation algorithms

• Each resource behaves differently so we can allocate them differently

Page 52: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Uses andimprovements

Page 53: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Where to integrate features

Decision graph

Economy

Diplomatic contracts

Fleet management

Fleet production

Page 54: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Where to integrate features

Diplomacy relations

Analysis Decision graph

Ship/Fleet Design

War topology

Economy

Diplomatic contracts

Fleet management

Fleet production

Page 55: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Where to integrate features

Diplomacy relations

Analysis Decision graph

Ship/Fleet Design

War topology

Economy

Diplomatic contracts

Fleet management

Fleet production

Execution

Fleet behavior

Battle behavior

Page 56: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Dip lomat ic re lat ion behav ior

Empire destroyed our explorer AND We are a military faction

Prepare war

In alliance

Ask for Alliance

Analysis Decision graph

Page 57: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Increase ship number

Dip lomat ic re lat ion behav ior

Empire destroyed our explorer AND We are a military faction

Prepare war

In alliance

Ask for Alliance

Analysis Decision graph

Page 58: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Build alliance contract

Dip lomat ic re lat ion behav ior

Empire destroyed our explorer AND We are a military faction

Prepare war

In alliance

Ask for Alliance

Analysis Decision graph

Page 59: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

F leet Management

Defend empire

Defend empire 0.9Defend system

Pegasus0.6

Defend attacked system

A fleet is a resource for military decisions

Page 60: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Taskforce

F leet Management

Defend empire

Defend empire 0.9Defend system

Pegasus0.6

Defend attacked system

A fleet is a resource for military decisions

Page 61: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Advance tasks generat ion

Goals can generate goals

Defend empire

Defend empire 0.9Defend system

Pegasus 0.3Defend attacked system

Page 62: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Advance tasks generat ion

Goals can generate goals

Defend attacked systemDefend constellation Defend constellation

0.5Defend empire

Defend empire 0.9Defend system

Pegasus 0.3

Page 63: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Advance tasks generat ion

Tasks can generate tasks

TaskforceDefend system Pegasus 0.3

Defend attacked systemDefend empire

Defend empire 0.9

Page 64: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Advance tasks generat ion

Tasks can generate tasks

Assist

Escort defensefleet

0.2Taskforce

TaskforceDefend system Pegasus 0.3

Defend attacked systemempire

Defend empire 0.9

Page 65: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

1000

1000

Advance tasks generat ion

Link tasks with an allocation rule

Build unique wonderon Pegasus

0.3Build wonder

Build unique wonderon Andromeda

0.6Build wonder

Page 66: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

1000

1000

Advance tasks generat ion

Link tasks with an allocation rule

Build unique wonderon Pegasus

0.3Build wonder

Build unique wonderon Andromeda

0.6Build wonder

Only one in empire

Page 67: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

1000

1000

Advance tasks generat ion

Link tasks with an allocation rule

Build unique wonderon Pegasus

0.3Build wonder

Build unique wonderon Andromeda

0.6Build wonder

Only one in empire

Page 68: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

1000

1000

Advance tasks generat ion

Link tasks with an allocation rule

Build unique wonderon Pegasus

0.3Build wonder

Build unique wonderon Andromeda

0.6Build wonder

Only one in empire

Page 69: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

We have 8 different factions.

Page 70: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

And we want to add someflashy, new, exotic gameplay!

Page 71: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

Sheesh. Alright, we've got this. Wecan add a specific decision branch.

Page 72: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

And we want somegameplay restrictions!

Page 73: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

Well then we can cut a specific decision branch.

Page 74: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

And the personality of the new AI faction must match the lore!

Page 75: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Mult ip le Personal i t ies

In that case we can modifya specific decision branch.

Page 76: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Some numbers

• 90 analysis computations

• 45 types of goal

• 90 types of task

• 300 generators

• 50 types of game action handled

• 70 diplomatic states

• 3 programmers and 2 designers

Page 77: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Summing-Up

• Create a language to talk about AI decision

• Keep it simple

• Ensure modular approach so new content

doesn't break decision system

• Understanding the AI is mandatory

• Emergent behavior must be controlled

• Tools must display a system the way you design it

Page 78: Adrien Allard Florian Brulhart Sebastien Broussaudeej.dk/gain/2017/slides/AI_DECISION_MAKING_IN_ENDLESS_SPACE_… · Insectoid, psycho, warmachines. We need the best defense against

Thank you