how mexica works - rafael pérez y pérez · 2018. 1. 24. · mexica produces plots of stories...

285
How MEXICA works Rafael Pérez y Pérez www.rafaelperezyperez.com

Upload: others

Post on 08-Nov-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

How MEXICA works

Rafael Pérez y Pérezwww.rafaelperezyperez.com

Page 2: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Chapter I: Introduction

Rafael Pérez y Pérezwww.rafaelperezyperez.com

Page 3: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

The model behind the program

Organisation of the program

www.rafaelperezyperez.com

Page 4: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

The model behind the program

www.rafaelperezyperez.com

Page 5: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

MEXICA produces plots of stories

about the Mexicas, the inhabitants, in centuries past, of

what is now México City

The model

www.rafaelperezyperez.com

Page 6: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

It is inspired on Sharples (1999) cognitive account of writing:

Sharples, M. (1999). How we write? Writing as creative design. London: Routledge.

The model

www.rafaelperezyperez.com

Page 7: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

E

R

MEXICA includes two main processes:

Engagement and Reflection

The model

www.rafaelperezyperez.com

Page 8: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

During engagement the system generates sequences of actions guided by

rhetorical and content constraints

The model

www.rafaelperezyperez.com

Page 9: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

during reflection, the system breaks impasses, evaluates and,

if necessary, modifies the material generated so far

The model

www.rafaelperezyperez.com

Page 10: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

E

R

Then, the system switches back to engagement and the cycle continues until

the narrative is finished

The model

www.rafaelperezyperez.com

Page 11: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Organisation of the program

www.rafaelperezyperez.com

Page 12: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

MEXICA is formed by two main blocks

The program

www.rafaelperezyperez.com

Page 13: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

The construction of knowledge structures

(building the K-S)

Building K-S

E-R cycles

output

input

The program

www.rafaelperezyperez.com

Page 14: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

E-R cycles

output

input

and the generation of plots through engagement-

reflection cycles (E-R cycles)

The program

www.rafaelperezyperez.com

Page 15: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

E-R cycles

output

input

The program

www.rafaelperezyperez.com

Page 16: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

E-R cycles

output

input

The program

www.rafaelperezyperez.com

Page 17: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

The building of the K-S takes as input two text files defined by the user:

Building K-S

input

The program

www.rafaelperezyperez.com

Page 18: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

input

Knowledge Base

Story-actions Previous stories

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 19: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

input

Knowledge Base

Story-actions Previous stories

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 20: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

input

Knowledge Base

Story-actions Previous stories

It includes the names of all actions that can be performed by a character within a narrative along with a list of preconditions and post

conditions for each deed

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 21: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

In MEXICA, all preconditions and post conditions are described in terms of

emotional links and tensions between characters (e.g., jaguar knight hates the enemy)

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 22: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

input

Knowledge Base

Story-actions Previous stories

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 23: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

input

Knowledge Base

Story-actions Previous stories

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 24: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

input

Knowledge Base

Story-actions Previous stories

The Previous Stories are sequences of story actions that represent well-formed narratives. They characterize the “experience” of the agent.

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 25: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

input

Knowledge Base

Story-actions Previous stories

The program

The building of the K-S takes as input two text files defined by the user:

www.rafaelperezyperez.com

Page 26: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Story-actions Previous stories

The program

www.rafaelperezyperez.com

Page 27: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Story-actions Previous stories

The program

www.rafaelperezyperez.com

Page 28: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

E-R cycles

output

Knowledge Base

An initial story-action (e. g., the enemy fights eagle knight)

The program

www.rafaelperezyperez.com

Page 29: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

The program

www.rafaelperezyperez.com

Page 30: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Chapter II: Dictionary of Story- Actions and the File of

Previous StoriesRafael Pérez y Pérez

www.rafaelperezyperez.com

Page 31: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Properties of a Story-Action

Emotional Links

Tensions (conflicts)

Definition of a Story-Action

Previous Stories

www.rafaelperezyperez.com

Page 32: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

www.rafaelperezyperez.com

Page 33: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

www.rafaelperezyperez.com

Page 34: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Properties of a Story-Action

www.rafaelperezyperez.com

Page 35: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The design of the system is based on structures known as Story-Actions

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

www.rafaelperezyperez.com

Page 36: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

All Story-actions have a name

www.rafaelperezyperez.com

Page 37: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

Story-actions must specify the number of characters that participate in the deed

www.rafaelperezyperez.com

Page 38: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

At this point, characters are represented as variables that will be instantiated by concrete

actors during the development of the tale.

www.rafaelperezyperez.com

Page 39: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

A story-action might have one character

www.rafaelperezyperez.com

Page 40: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

A story-action might have two characters

www.rafaelperezyperez.com

Page 41: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

A story-action might have three characters

www.rafaelperezyperez.com

Page 42: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A ran away

A followed and found B

A waited for a while and at the right moment attacked B

A and B helped C

Properties S-A

www.rafaelperezyperez.com

Page 43: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Preconditions Story-actions Post conditions

Story-actions have an associated set of preconditions (which are optional) and a

group of post conditions (which are enforced)

Properties S-A

www.rafaelperezyperez.com

Page 44: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

There are two types of possible preconditions and post conditions in MEXICA:

1) Emotional links between characters

2) Conflicts or tensions between characters

Properties S-A

www.rafaelperezyperez.com

Page 45: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Emotional Links

www.rafaelperezyperez.com

Page 46: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

For practical reasons all types of emotions are implemented in discrete terms with a value in

the range of -3 to +3 (c.f. Dyer 1987)

-3 –2 –1 0 +1 +2 +3

Emotional Links

Dyer, M. G. (1987). Emotions and their computations: Three computer models. Cognition and Emotion, Vol.1 (3), pp. 323-347

www.rafaelperezyperez.com

Page 47: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

-3 –2 –1 0 +1 +2 +3

Emotional Links

In other words, in MEXICA emotions have a positive, negative or neutral valence, and an

intensity that goes from zero to three

www.rafaelperezyperez.com

Page 48: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

There are two types:

Type 1 represents a continuum between love (brotherly love) and hate.

Type 2 represents a continuum between being in love with (amorous love) and feeling hatred towards.

Emotional Links

www.rafaelperezyperez.com

Page 49: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

e.g. “The jaguar knight hates the enemy”

Type 1

Emotional Links

www.rafaelperezyperez.com

Page 50: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

e.g. The princess loves jaguar knight and jaguar knight loves the princess.

Type 2

Emotional Links

www.rafaelperezyperez.com

Page 51: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

[A hates B, i.e. A has an emotional link of type 1 and intensity -3 towards B]

A wounds B

Emotional Links

Example

www.rafaelperezyperez.com

Page 52: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

[A hates B, i.e. A has an emotional link of type 1 and intensity -3 towards B]

A wounds B

Emotional Links

Example

www.rafaelperezyperez.com

Page 53: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A falls in love with character B

[A develops an emotional link towards B of type 2 and intensity +3]

Emotional Links

Example

www.rafaelperezyperez.com

Page 54: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A falls in love with character B

[A develops an emotional link towards B of type 2 and intensity +3]

Emotional Links

Example

www.rafaelperezyperez.com

Page 55: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Tensions (conflicts)

www.rafaelperezyperez.com

Page 56: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Tensions

The current version of the program divides tensions in three groups:

• Group 1: Tensions triggered by post conditions

• Group 2: Tensions deactivated by post conditions

• Group 3: Tensions triggered automatically

www.rafaelperezyperez.com

Page 57: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

It is assumed that a tension in a short story arises when:

• a character is murdered (Ad)

• when the life of a character is at risk (Lr)

• when the health of a character is at risk, e.g. when a character has been wounded (Hr)

• when a character is made a prisoner (Pr)

Group 1

Tensions

www.rafaelperezyperez.com

Page 58: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

It is assumed that a tension in a short story arises when:

• a character is murdered (Ad)

• when the life of a character is at risk (Lr)

• when the health of a character is at risk, e.g. when a character has been wounded (Hr)

• when a character is made a prisoner (Pr)

Group 1

Tensions

www.rafaelperezyperez.com

Page 59: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

It is assumed that a tension in a short story arises when:

• a character is murdered (Ad)

• when the life of a character is at risk (Lr)

• when the health of a character is at risk, e.g. when a character has been wounded (Hr)

• when a character is made a prisoner (Pr)

Group 1

Tensions

www.rafaelperezyperez.com

Page 60: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

It is assumed that a tension in a short story arises when:

• a character is murdered (Ad)

• when the life of a character is at risk (Lr)

• when the health of a character is at risk, e.g. when a character has been wounded (Hr)

• when a character is made a prisoner (Pr)

Group 1

Tensions

www.rafaelperezyperez.com

Page 61: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

It is assumed that a tension in a short story arises when:

• a character is murdered (Ad)

• when the life of a character is at risk (Lr)

• when the health of a character is at risk, e.g. when a character has been wounded (Hr)

• when a character is made a prisoner (Pr)

Group 1

Tensions

www.rafaelperezyperez.com

Page 62: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

It is assumed that a tension in a short story arises when:

• a character is murdered (Ad)

• when the life of a character is at risk (Lr)

• when the health of a character is at risk, e.g. when a character has been wounded (Hr)

• when a character is made a prisoner (Pr)

Group 1

Tensions

www.rafaelperezyperez.com

Page 63: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A wounds B

[the health of B is at risk].

Tensions

Group 1

www.rafaelperezyperez.com

Page 64: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A wounds B

[the health of B is at risk].

Tensions

Group 1

HrA B

www.rafaelperezyperez.com

Page 65: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

In the same way, tensions can be deactivated through post conditions:

Tensions

Group 2

Health normal (Hn)Life Normal (Ln)Prisoner free (Pf)

Health at risk (Hr)Life at Risk (Lr)Prisoner (Pr)

Group 2 Group 1

www.rafaelperezyperez.com

Page 66: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

In the same way, tensions can be deactivated through post conditions:

C cures B

[The tension health at risk is deactivated]

Tensions

Group 2

www.rafaelperezyperez.com

Page 67: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

In the same way, tensions can be deactivated through post conditions:

C cures B

[The tension “health at risk” (Hr) is deactivated (Hn)]

Hr Hn

Tensions

Group 2

www.rafaelperezyperez.com

Page 68: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

In the same way, tensions can be deactivated through post conditions:

C cures B

[The tension health at risk is deactivated (Hn).

Emotional Link: B is very grateful towards C (E.L. Type 1 intensity +2) ]

Tensions

Group 2

www.rafaelperezyperez.com

Page 69: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A has an accident

(tension Health of A is at risk)

B heals A

The tension health at risk is deactivated.

A is very grateful towards B (E.L. type 1 intensity +2)

Tensions

www.rafaelperezyperez.com

Page 70: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A has an accident

(tension Health of A is at risk)

B heals A

The tension health at risk is deactivated.

A is very grateful towards B (E.L. type 1 intensity +2)

A

Hr

Tensions

www.rafaelperezyperez.com

Page 71: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A

Hr

B A+2

Tensions

A has an accident

(tension Health of A is at risk)

B heals AThe tension health at risk is deactivated (Hn).

A is very grateful towards B (E.L. type 1 intensity +2)

www.rafaelperezyperez.com

Page 72: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

There is a group of three tensions known as inferred tensions:

1) Clashing emotions (Ce)

2) Love competition (Lc)

3) Potential danger (Pd)

Tensions

Group 3

www.rafaelperezyperez.com

Page 73: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Tensions

Group 3

There is a group of three tensions known as inferred tensions:

1) Clashing emotions (Ce)

2) Love competition (Lc)

3) Potential danger (Pd)

When a character establishes two opposite emotional links towards

other character

www.rafaelperezyperez.com

Page 74: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Tensions

Group 3

There is a group of three tensions known as inferred tensions:

1) Clashing emotions (Ce)

2) Love competition (Lc)

3) Potential danger (Pd)

When two different characters are in love with a third one

www.rafaelperezyperez.com

Page 75: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Tensions

Group 3

There is a group of three tensions known as inferred tensions:

1) Clashing emotions (Ce)

2) Love competition (Lc)

3) Potential danger (Pd)

When a character hates another character and both are located in the same place

www.rafaelperezyperez.com

Page 76: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Love competition (Lc) between the knight and the tlatoani

Tensions

Group 3

www.rafaelperezyperez.com

Page 77: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Each tension in MEXICA has associated a value.

The structure Tensional Representation records the different values of the tension over time.

Tensions

www.rafaelperezyperez.com

Page 78: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

2040

60

80100

120

Actions

Tens

ion

Tensions

www.rafaelperezyperez.com

Page 79: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

2040

60

80100

120

Actions

Tens

ion

TensionsIn MEXICA, a

story is considered interesting

when it includes

increments and decrements of

the tension

www.rafaelperezyperez.com

Page 80: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Definition of a Story-Action

www.rafaelperezyperez.com

Page 81: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Story-Action

A saved the life of B

List of preconditions:

The life of B must be at risk [tension].

List of post conditions:

The life of B is not anymore at risk [deactivation of a tension].

B develops an emotional link of type 1 and intensity +3 towards A.

Alternative Texts

A desperately ran to forest to get some magic plants and saved the life of B

Definition of a S-A

www.rafaelperezyperez.com

Page 82: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Story-ActionA saved the life of B

List of preconditions:

The life of B must be at risk [tension].

List of post conditions:

The life of B is not anymore at risk [deactivation of a tension].

B develops an emotional link of type 1 and intensity +3 towards A.

Alternative Texts

A desperately ran to forest to get some magic plants and saved the life of B

Definition of a S-A

www.rafaelperezyperez.com

Page 83: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Story-Action

A saved the life of B

List of preconditions:The life of B must be at risk [tension].

List of post conditions:

The life of B is not anymore at risk [deactivation of a tension].

B develops an emotional link of type 1 and intensity +3 towards A.

Alternative Texts

A desperately ran to forest to get some magic plants and saved the life of B

Definition of a S-A

www.rafaelperezyperez.com

Page 84: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Story-Action

A saved the life of B

List of preconditions:

The life of B must be at risk [tension].

List of post conditions:The life of B is not anymore at risk [deactivation of a tension].

B develops an emotional link of type 1 and intensity +3 towards A.

Alternative Texts

A desperately ran to forest to get some magic plants and saved the life of B

Definition of a S-A

www.rafaelperezyperez.com

Page 85: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Story-Action

A saved the life of B

List of preconditions:

The life of B must be at risk [tension].

List of post conditions:

The life of B is not anymore at risk [deactivation of a tension].

B develops an emotional link of type 1 and intensity +3 towards A.

Alternative TextsA desperately ran to forest to get some magic plants and saved the

life of B

Definition of a S-A

www.rafaelperezyperez.com

Page 86: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Post conditions might also include:

- Linked characters

- Change of position within the story-world

Definition of a S-A

www.rafaelperezyperez.com

Page 87: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

- Linked characters are family or friends of the characters

Definition of a S-A

www.rafaelperezyperez.com

Page 88: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

+2

Definition of a S-A

www.rafaelperezyperez.com

Page 89: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

- Linked characters can also have emotional responses to the action of other characters.

A cured BB is very grateful towards A

All B’s friends and family are grateful towards A

Definition of a S-A

www.rafaelperezyperez.com

Page 90: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

- Change of position within the story-world

• Texcoco lake• Popocatepetl volcano• Tlatelolco market• Palace• Tenochtitlan City• Temple• Jail• Chapultepec forest• Uncivilized lands

Definition of a S-A

www.rafaelperezyperez.com

Page 91: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Story-Action

A saved the life of B

List of preconditions:

The life of B must be at risk [tension].

List of post conditions:

The life of B is not anymore at risk [deactivation of a tension].

B develops an emotional link of type 1 and intensity +3 towards A.

Lb develops an emotional link of type 1 and intensity % towards A.

Alternative Texts

A desperately ran to forest to get some magic plants and saved the life of B

Definition of a S-A

www.rafaelperezyperez.com

Page 92: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The user defines a Dictionary of Story-Actions (DSA)

Definition of a S-A

www.rafaelperezyperez.com

Page 93: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Previous Stories

www.rafaelperezyperez.com

Page 94: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

In MEXICA a story is defined as asequence of story-actions that arecoherent, interesting and novel.

Previous stories

Story

Action 1Action 2Action 3

…Action n

www.rafaelperezyperez.com

Page 95: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Previous stories

PS I

Action 1Action 2Action 3

…Action n

PS II

Action 1Action 2Action 3

…Action n

PS n

Action n1Action n2Action n3

…Action nn

File of Previous Stories (PS)

www.rafaelperezyperez.com

Page 96: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Previous stories

PS I

Action 1Action 2Action 3

…Action n

PS II

Action 1Action 2Action 3

…Action n

PS n

Action n1Action n2Action n3

…Action nn

File of Previous Stories (PS)

The system obtains from the PreviousStories common sense knowledge and technical

information about narrativeswww.rafaelperezyperez.com

Page 97: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Chapter III: Building the Knowledge Structures

Rafael Pérez y Pérezwww.rafaelperezyperez.com

Page 98: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

www.rafaelperezyperez.com

Page 99: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

www.rafaelperezyperez.com

Page 100: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Contextual knowledge structures

Tensional representation

Concrete representation

www.rafaelperezyperez.com

Page 101: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Contextual knowledge structures

www.rafaelperezyperez.com

Page 102: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Set ofEmotional links

and Tensions

Story-action 1

Story-action 2

Story-action n

Contextual structures

www.rafaelperezyperez.com

Page 103: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Set ofEmotional links

and Tensions

Story-action 1

Story-action 2

Story-action n

Contextual structures

A B+3

A buys flowers to B

A writes a love poem to B

A serenates B

www.rafaelperezyperez.com

Page 104: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

www.rafaelperezyperez.com

Page 105: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures

Jaguar knight has an accident

C1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar knight

C2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar knight rewards PrincessC3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

www.rafaelperezyperez.com

Page 106: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures

Jaguar knight has an accident

[Tension: Jaguar knight is injured (Health at risk) ]

Princess heals Jaguar Knight

C2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards PrincessC3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

www.rafaelperezyperez.com

Page 107: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

jaguar knight

Story-contextHr

Jaguar knight has an accident

[Tension: Jaguar knight is injured (Health at risk) ]

Princess heals Jaguar Knight

C2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards PrincessC3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

www.rafaelperezyperez.com

Page 108: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

[Tension: Jaguar knight is injured (Health at risk) ]

Princess heals Jaguar knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

+2

Story-context

princess jaguar knight

Contextual structures

www.rafaelperezyperez.com

Page 109: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

[Tension: Jaguar knight is injured (Health at risk) ]

Princess heals Jaguar knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar knight (E. L. T1 +2) ]…

Contextual structures

+2

Story-context

princess jaguar knight

www.rafaelperezyperez.com

Page 110: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures

Jaguar knight has an accident

C1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

C2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards PrincessC3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

www.rafaelperezyperez.com

Page 111: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures

Time = 1

Time = 2

Time = 3

jaguar knight

Story-contextHr

+2

Story-context

princess jaguar knight

+2

Story-context

princess jaguar knight

www.rafaelperezyperez.com

Page 112: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards PrincessT=3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

www.rafaelperezyperez.com

Page 113: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

www.rafaelperezyperez.com

Page 114: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

B AJaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

A

www.rafaelperezyperez.com

Page 115: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

B AJaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

AMEMORY

A

Hr

B heals A

www.rafaelperezyperez.com

Page 116: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

MEMORY

A

Hr

B heals A

Contextual structure

Associated action

www.rafaelperezyperez.com

Page 117: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards PrincessT=3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

www.rafaelperezyperez.com

Page 118: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

[Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

www.rafaelperezyperez.com

Page 119: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

BBA

Jaguar knight has an accident

[Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

A

www.rafaelperezyperez.com

Page 120: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

[Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

MEMORY

A

Hr

B heals A

B A+2

A rewards B

www.rafaelperezyperez.com

Page 121: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

[Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

MEMORY

A

Hr

B heals A

B A+2

A rewards B

Contextual structure

Associated action

www.rafaelperezyperez.com

Page 122: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Princess heals Jaguar Knight

T=2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards PrincessT=3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

Page 123: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures MEMORY

A

Hr

B heals A

B A+2

A rewards B

Page 124: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures CONTEXTUAL MEMORY

A

Hr

B A+2

A rewards B

Contextual structure 1

Contextual structure 2

B heals A

Page 125: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual structures

Jaguar knight has an accident

C1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

C2 [Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight insults WarriorC3 [ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Page 126: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

jaguar knight

Story-contextHr

Page 127: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

jaguar knight

Story-contextHr

CONTEXTUAL MEMORY

A

Hr

B A+2

A rewards B

Contextual structure 1

Contextual structure 2

B heals A

Page 128: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

Page 129: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

AB A

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

A

Hr

B mugs A

Page 130: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

CONTEXTUAL MEMORY

A

Hr

B heals A

B A+2

A rewards B

Contextual structure 1

Contextual structure 2

A

Hr

B mugs A

Page 131: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

CONTEXTUAL MEMORY

A

Hr

B heals A

B A+2

A rewards B

Contextual structure 1

Contextual structure 2

A

Hr

B mugs A

Page 132: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Jaguar knight has an accident

T=1 [Tension: Jaguar Knight is injured (Health at risk) ]

Warrior mugs Jaguar Knight

[Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2) ]

Jaguar Knight rewards Princess[ Emotional Link: Jaguar knight is very grateful towards

Princess (E. L. T1 +2)Princess is very grateful towards

Jaguar Knight (E. L. T1 +2) ]…

Contextual structures

CONTEXTUAL MEMORY

A

Hr

B heals AB mugs A

B A+2

A rewards B

Contextual structure 1

Contextual structure 2

Page 133: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Contextual StructureSet of

Emotional links and Tensions

Story-action 1

Contextual StructureSet of

Emotional links and Tensions

Story-action 1

Story-action 2

Story-action 3

Story-action 4

Contextual StructureSet of

Emotional links and Tensions

Story-action 1

Contextual StructureSet of

Emotional links and Tensions

Story-action 1

Story-action 2

Story-action 3

Contextual structures

Contextual StructureSet of

Emotional links and Tensions

Story-action 1

Story-action 2

Story-action 3

Story-action 4

Story-action 5

Story-action 6

Page 134: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Tensional representation

www.rafaelperezyperez.com

Page 135: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

2040

60

80100

120

Actions

Tens

ion

Tensions

The second important knowledge structure is the set of Tensional Representations

Page 136: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Tensional Representations

PS I

Action 1Action 2Action 3

…Action n

PS II

Action 1Action 2Action 3

…Action n

PS n

Action n1Action n2Action n3

…Action nn

Fig. 5.1a Frame #1

050

100150200250

0 5 10 15number of the action

Intensity

Fig. 5.1b Frame #2

number of the action

Intensity

05

10152025303540

0 2 4 6 8 10

Fig. 5.1g Frame #7

number of the action

Intensity

020406080

100120140

0 2 4 6 8 10 12

Page 137: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Fig. 5.1a Frame #1

050

100150200250

0 5 10 15number of the action

Intensity

Fig. 5.1b Frame #2

number of the action

Intensity

05

10152025303540

0 2 4 6 8 10

Fig. 5.1c Frame #3

number of the action

Intensity

020406080

100120

0 5 10 15 20

Fig. 5.1d Frame #4

number of the action

Intensity

0102030405060

0 2 4 6 8 10 12

Tensional Representations

Page 138: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Fig. 5.1e Frame #5

number of the action

Intensity

0

20

40

60

80

100

0 2 4 6 8 10 12

Fig. 5.1f Frame #6

number of the action

Intensity

0

20

40

60

80

100

0 2 4 6 8 10

Tensional Representations

Fig. 5.1g Frame #7

number of the action

Intensity

020406080

100120140

0 2 4 6 8 10 12

Page 139: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Concrete representation

www.rafaelperezyperez.com

Page 140: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The third knowledge representation is formed by a copy of:

• The set of the Previous Stories

• The Dictionary of story-actions

Concrete Representation

Page 141: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Chapter IV: Generation of Narratives

Rafael Pérez y Pérezwww.rafaelperezyperez.com

Page 142: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

Page 143: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Building K-S

E-R cycles

output

input

Knowledge Base

Initial action

Story-actions Previous stories

Page 144: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Material to be evaluatedGuidelines

Engagement

Reflection

The process of developing new stories consists of a cycle between the Engaged and Reflective States

Page 145: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Engagement

Reflection

Ending the narrative

www.rafaelperezyperez.com

Page 146: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Engagement

www.rafaelperezyperez.com

Page 147: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Page 148: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Page 149: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Page 150: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Match of a structure

Page 151: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Page 152: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Following the constrains imposed by the guidelines, one action is chosen

Retrieving a set of possible next actions

to be performed

Match of a structure

Page 153: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 154: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 155: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 156: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 157: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 158: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 159: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Retrieving a set of possible next actions

to be performed

Match of a structure

Following the constrains imposed by the guidelines, one action is chosen

Page 160: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Engagement

A attacked B

www.rafaelperezyperez.com

Page 161: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Engagement

Story-context

Page 162: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Engagement

Story-context

Page 163: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Engagement

Story-context

Page 164: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Engagement

Story-context

Page 165: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Engagement

Story-context

Page 166: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Contextual StructureEngagement

Story-context

Page 167: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Contextual StructureEngagement

Story-context

Page 168: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Contextual StructureEngagement

Story-context

The story-context is 50% of the Contextual-structure. This is a

parameter of the system

Page 169: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Contextual StructureEngagement

Story-context

This parameter is referred to as ACAS-Constant; its value is defined by the user

Page 170: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

A attacked B

Contextual StructureEngagement

Story-context

Page 171: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Page 172: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 173: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 174: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 175: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 176: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 177: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 178: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 179: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

Story-context

Page 180: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

A wounded B

Page 181: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

A wounded B Story-context

Page 182: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

A wounded B Story-context

Page 183: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

A wounded B

A ran away

Page 184: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

A attacked B

B fought A

A wounded B

A ran away3 story-actions

Page 185: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Initial action

The action is executed and the story-context is updated

Contextual structure 1

Set 1 of possible next actions

Contextual structure 2

Set 2 of possible next actions

Contextual structure n

Set n of possible next actions

CONTEXTUAL MEMORY

Probe of CM

Constrained by the guidelines one action is chosen

Retrieving a set of possible next actions

to be performed

Match of a structure

When the system cannot match the current story-context with any contextual-structure,

an impasse is declared and the system switches to Reflection

Page 186: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

Material to be evaluatedGuidelines

Engagement

Reflection

The process of developing new stories consists of a cycle between the Engaged and Reflective States

Page 187: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

Reflection

www.rafaelperezyperez.com

Page 188: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Page 189: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Page 190: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Notice that during engagement preconditions are not checked.

If it is necessary, the system inserts one or more actions to satisfy preconditions

Page 191: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 192: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 193: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

MEXICA tries to break an impasse by "copying" the way similar

situations have been solved in the Previous Stories (in the Concrete

Representation)

Page 194: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 195: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 196: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

PS I

Action 1Action 2Action 3

…Action n

PS II

Action 1Action 2Action 3

…Action n

PS n

Action n1Action n2Action n3

…Action nn

Story in progress

Page 197: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

The Novelty Guideline can be set with four different values: Strict, High, Medium or Low

Page 198: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

The Novelty Guideline can be set with four different values: Strict, High, Medium or Low

Actions that have never been used in the previous stories

Page 199: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

The Novelty Guideline can be set with four different values: Strict, High, Medium or Low

Actions that have been used zero, one or two times in the previous

stories

Page 200: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

The Novelty Guideline can be set with four different values: Strict, High, Medium or Low

Page 201: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 202: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 203: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

The possible values for the Tension Guideline

are: tendency-up, tendency-down, neutral

Page 204: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

The possible values for the Tension Guideline

are: tendency-up, tendency-down, neutral

Page 205: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

The possible values for the Tension Guideline

are: tendency-up, tendency-down, neutral

Page 206: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

The possible values for the Tension Guideline

are: tendency-up, tendency-down, neutral

Page 207: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Fig. 5.2 Comparing the Tensional Representations

number of the action

Intensity

020406080

100120

0 5 10 15 20

Story Frame 2 Frame 3

Comparison of the tensional representations

Page 208: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Fig. 5.2 Comparing the Tensional Representations

number of the action

Intensity

020406080

100120

0 5 10 15 20

Story Frame 2 Frame 3

Comparison of the tensional representations

Page 209: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Fig. 5.2 Comparing the Tensional Representations

number of the action

Intensity

020406080

100120

0 5 10 15 20

Story Frame 2 Frame 3

Comparison of the tensional representations

Page 210: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Fig. 5.2 Comparing the Tensional Representations

number of the action

Intensity

020406080

100120

0 5 10 15 20

Story Frame 2 Frame 3

Comparison of the tensional representations

Page 211: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

If necessary, the system breaks impasses

Reflection

Fig. 5.2 Comparing the Tensional Representations

number of the action

Intensity

020406080

100120

0 5 10 15 20

Story Frame 2 Frame 3

Tension Guideline = tendency-up

Page 212: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

MEXICA verifies that all actions’ preconditions

are satisfied

MEXICA evaluates the novelty of the story in progress

MEXICA evaluates the interestingness of the

story in progress

The system breaks impasses

Reflection

Page 213: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Material to be evaluatedGuidelines

Engagement

Reflection

The process of developing new stories consists of a cycle between the Engaged and Reflective States

Reflection

Page 214: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Page 215: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 216: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 217: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 218: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 219: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 220: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 221: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 222: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 223: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 224: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 225: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Ending the narrative

Pérez y Pérez, R. (2007). Employing Emotions to Drive Plot Generation in a Computer-Based Storyteller. Cognitive Systems Research. Vol. 8, number 2, pp. 89-109.

Page 226: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The Engagement-Reflection cycle ends, i.e. thestory finishes, when:

•All characters in the story are dead

•When an unbreakable impasse is declared.

•When the maximum number of actionsallowed in a story is reached

Ending the narrative

Page 227: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The Engagement-Reflection cycle ends, i.e. thestory finishes, when:

•All characters in the story are dead

•When an unbreakable impasse is declared.

•When the maximum number of actionsallowed in a story is reached

Ending the narrative

Page 228: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The Engagement-Reflection cycle ends, i.e. thestory finishes, when:

•All characters in the story are dead

•When an unbreakable impasse is declared

•When the maximum number of actionsallowed in a story is reached

Ending the narrative

Page 229: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The Engagement-Reflection cycle ends, i.e. thestory finishes, when:

•All characters in the story are dead

•When an unbreakable impasse is declared

•When the maximum number of actionsallowed in a story is reached

Ending the narrative

Page 230: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The final analysis

Once a story is finished, MEXICA revises the material producedto add a few finishing touches to the story.

Ending the narrative

Page 231: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The final analysis

For instance, the system analyses the tale and inserts in the rightposition story-actions that make explicit some of the characters’emotions (e.g. “the princess hated and loved the jaguar knight”) .

Ending the narrative

Page 232: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Chapter V: An Example of how a Narrative is Generated

Rafael Pérez y Pérezwww.rafaelperezyperez.com

Page 233: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (0)

The Kidnapped Tlatoani

Page 234: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (0)

The first action is given by the user

Page 235: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (0)

Story-time

This action was produced at time = 0

Page 236: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (0)

Value of the Tension

Page 237: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (0)

By default, when new characters appear in the story they are located in

Tenochtitlan City

Page 238: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (0)

Page 239: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

an impasse is declared and the system switches toreflection to try to break the impasse.

*** NEW STORY:

0 The tlatoani liberated himself (0)

Engagement

Page 240: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

0 The tlatoani liberated himself (20)

Reflection

Page 241: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

0 The tlatoani liberated himself (20)

Reflection

Page 242: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

Reflection

Page 243: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

Reflection

(Chapultepec Forest)

Page 244: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20

0

5

10

15

20

25

30

35

40

45Te

nsio

n

Actions

Value of the Tension over story-time

Page 245: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

Engagement

Page 246: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

Engagement

Page 247: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

Engagement

Page 248: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

Engagement

Page 249: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

Highest tension in the story

Page 250: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

Reflection

Page 251: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

0

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time

Page 252: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Engagement

Page 253: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Engagement

Page 254: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Engagement

Page 255: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Engagement

New character

Page 256: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Engagement

Why did the new character not want to cure the

Tlatoani?

Page 257: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

10 The prince lived in Tenochtitlan (20)

11 The prince decided to go to the forest (20)

12 The prince realised that the priest wounded the tlatoani (20)

13 The tlatoani affronted the prince (40)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Reflection

Page 258: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

10 The prince lived in Tenochtitlan (20)

11 The prince decided to go to the forest (20)

12 The prince realised that the priest wounded the tlatoani (20)

13 The tlatoani affronted the prince (40)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Reflection

Page 259: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

10 The prince lived in Tenochtitlan (20)

11 The prince decided to go to the forest (20)

12 The prince realised that the priest wounded the tlatoani (20)

13 The tlatoani affronted the prince (40)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Reflection

Page 260: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

10 The prince lived in Tenochtitlan (20)

11 The prince decided to go to the forest (20)

12 The prince realised that the priest wounded the tlatoani (20)

13 The tlatoani affronted the prince (40)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

Reflection

Page 261: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest (20)

3 The priest attacked the tlatoani (40)

4 The tlatoani and the priest fought (80)

5 The priest wounded the tlatoani (100)

7 The priest ran away (20)

10 The prince lived in Tenochtitlan (20)

11 The prince decided to go to the forest (20)

12 The prince realised that the priest wounded the tlatoani (20)

13 The tlatoani affronted the prince (40)

8 The prince decided not to cure the tlatoani (60)

9 The prince went back to Tenochtitlan City (40)

New preconditions that require to be fulfilled

Reflection

Page 262: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

Reflection

Page 263: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

Reflection

Page 264: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Engagement

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

Switches back to engagement and an impasse is triggered.

Page 265: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

16 The tlatoani died due to his injuries 0

Reflection

Page 266: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

16 The tlatoani died due to his injuries 0

Switches back to engagement: a new impasse is triggered.

Page 267: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

16 The tlatoani died due to his injuries 0

Switches back to reflection but the impasse

cannot be broken.

So, the story ends.

Page 268: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY: 1 The tlatoani lived in Tenochtitlan (0)

2 The priest kidnapped tlatoani (40)

0 The tlatoani liberated himself (20)

6 The tlatoani affronted the priest 20

3 The priest attacked the tlatoani 40

4 The tlatoani and the priest fought 80

5 The priest wounded the tlatoani 100

7 The priest ran away 20

10 The prince lived in Tenochtitlan

11 The prince decided to go to the forest

12 The prince realised that the priest wounded the tlatoani

15 The tlatoani was fond of the prince

14 The prince attempted to take advantage of the tlatoani 40

13 The tlatoani affronted the prince 40

8 The prince decided not to cure the tlatoani 60

9 The prince went back to Tenochtitlan City 40

16 The tlatoani died due to his injuries 0

Page 269: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

TLATOANI ACTORPRIEST KIDNAPPED TLATOANITLATOANI BECAME_FREETLATOANI AFFRONTED PRIESTPRIEST ATTACKED TLATOANITLATOANI FOUGHT PRIESTPRIEST WOUNDED TLATOANIPRIEST RAN_AWAYPRINCE ACTORPRINCE WENT_FORESTPRINCE REALISED PRIEST WOUNDED TLATOANITLATOANI WAS_FOND_OF PRINCEPRINCE ATTEMPTED_TO_TAKE_ADVANTAGE_OF TLATOANITLATOANI AFFRONTED PRINCEPRINCE DID_NOT_CURE TLATOANIPRINCE WENT_TENOCHTITLAN_CITYTLATOANI DIED_BY_INJURIES

Page 270: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

TLATOANI ACTORPRIEST KIDNAPPED TLATOANITLATOANI BECAME_FREETLATOANI AFFRONTED PRIESTPRIEST ATTACKED TLATOANITLATOANI FOUGHT PRIESTPRIEST WOUNDED TLATOANIPRIEST RAN_AWAYPRINCE ACTORPRINCE WENT_FORESTPRINCE REALISED PRIEST WOUNDED TLATOANITLATOANI WAS_FOND_OF PRINCEPRINCE ATTEMPTED_TO_TAKE_ADVANTAGE_OF TLATOANITLATOANI AFFRONTED PRINCEPRINCE DID_NOT_CURE TLATOANIPRINCE WENT_TENOCHTITLAN_CITYTLATOANI DIED_BY_INJURIES

The tlatoani was an inhabitant of the Great Tenochtitlan.

Page 271: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

The tlatoani was an inhabitant of the Great Tenochtitlan. PRIEST KIDNAPPED TLATOANITLATOANI BECAME_FREETLATOANI AFFRONTED PRIESTPRIEST ATTACKED TLATOANITLATOANI FOUGHT PRIESTPRIEST WOUNDED TLATOANIPRIEST RAN_AWAYPRINCE ACTORPRINCE WENT_FORESTPRINCE REALISED PRIEST WOUNDED TLATOANITLATOANI WAS_FOND_OF PRINCEPRINCE ATTEMPTED_TO_TAKE_ADVANTAGE_OF TLATOANITLATOANI AFFRONTED PRINCEPRINCE DID_NOT_CURE TLATOANIPRINCE WENT_TENOCHTITLAN_CITYTLATOANI DIED_BY_INJURIES

The priest kidnapped the tlatoani and went to the Chapultepec Forest.

Page 272: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

*** NEW STORY:

Tlatoani was an inhabitant of the Great Tenochtitlan. The priest kidnapped the tlatoani and went to the Chapultepec Forest. TLATOANI BECAME_FREETLATOANI AFFRONTED PRIESTPRIEST ATTACKED TLATOANITLATOANI FOUGHT PRIESTPRIEST WOUNDED TLATOANIPRIEST RAN_AWAYPRINCE ACTORPRINCE WENT_FORESTPRINCE REALISED PRIEST WOUNDED TLATOANITLATOANI WAS_FOND_OF PRINCEPRINCE ATTEMPTED_TO_TAKE_ADVANTAGE_OF TLATOANITLATOANI AFFRONTED PRINCEPRINCE DID_NOT_CURE TLATOANIPRINCE WENT_TENOCHTITLAN_CITYTLATOANI DIED_BY_INJURIES

Page 273: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

The Kidnapped Tlatoani

The tlatoani was an inhabitant of the Great Tenochtitlan.The priest kidnapped the tlatoani and went to theChapultepec Forest. With a hidden knife the tlatoani wasable to cut all the ropes and escape. The tlatoani was reallyangry for what had happened and affronted the priest. Thepriest thoroughly observed the tlatoani. Then, took adagger and attacked the tlatoani. Suddenly, the tlatoaniand the priest were involved in a violent fight. In a fastmovement, the priest wounded the tlatoani. An intensehaemorrhage arouse which weakened the tlatoani. Thepriest felt panic and ran away.

1/2

Page 274: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com 2/2

The prince was an inhabitant of the Great Tenochtitlan. Early, in the morning, the prince went

to the Chapultepec Forest. Suddenly, the prince realized that the priest wounded the tlatoani. The

tlatoani always felt a special affection for the prince. The prince attempted to take advantage of the situation of the tlatoani. The tlatoani was really angry for what had happened and affronted the

prince. The prince, knowing that the tlatoani’s life was at risk, resolved not to cure the tlatoani. The

prince decided to go back to the Great Tenochtitlan City. The injuries that the tlatoani received were very

serious. So, the tlatoani died.

The End

Page 275: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time

Page 276: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time2 The priest kidnapped tlatoani

Page 277: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time5 The priest wounded the tlatoani

Page 278: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time

7 The priest ran away

Page 279: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time8 The prince decided not to cure the tlatoani

Page 280: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time16 The tlatoani died due to his injuries

Page 281: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

0

40

20 20

40

80

100

20 20 20 20 20

40 40

60

40

00

20

40

60

80

100

120Te

nsio

n

Actions

Value of the Tension over story-time

Page 282: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Page 283: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Produced by

Rafael Pérez y Pérez

Page 284: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

Thanks to:

Susana Rodríguez GilVíctor Ochoa LorenzoAna Paulina Anaya Escudero

Page 285: How MEXICA works - Rafael Pérez y Pérez · 2018. 1. 24. · MEXICA produces plots of stories about the Mexicas, the inhabitants, in centuries past, of what is now México City

www.rafaelperezyperez.com

México City 2018

www.rafaelperezyperez.com