SlideShare une entreprise Scribd logo
1  sur  47
Télécharger pour lire hors ligne
Chapter 5:
MACHINATIONS
Hamzah Asyrani Sulaiman
Machinations is more than just a visual language
for creating diagrams, however.
Dormans has built an online tool for drawing the
diagrams and simulating them
in real time. With it, you can construct and save
Machinations diagrams easily, and
you can also study the behavior of your internal
economy.
You can find the tool at
www.jorisdormans.nl/machinations.
The Machinations Framework
The Machinations Framework
Machinations Diagram Basic Elements
Pools and Resources
The most basic node type in a Machinations diagram is the
pool. A pool is a location in the diagram where resources
gather.
Pools are represented as open circles, while the resources that
are stored in a pool are represented as smaller, colored circles
that stack on them (Figure 5.2).
Resource Connections
Individual resources can move from node to node through a
Machinations diagram along resource connections that are
represented as solid arrows connecting the nodes
of the diagram (Figure 5.3).
INPUTS, OUTPUTS, SOURCES, AND TARGETS
Activation Modes
• A node can fire automatically, which means it simply fires every iteration.
All automatic nodes fire simultaneously.
• A node can be interactive, which means it represents a player action and
fires in response to that action. In a digital version of a Machinations
diagram, interactive nodes fire after the user clicks them.
• A node can be a starting action, which means that it fires only once,
before the first iteration. In the Machinations Tool, starting actions fire
immediately after the user clicks the run button.
• A node can be passive, which means it can fire only in response to a
trigger generated by another element (we discuss triggers shortly).
Activation Modes
Pulling and Pushing Resources
When a pool fires, it will try to pull
resources through any inputs connected
to it.
The number of resources it pulls is
determined by the rate of the individual
input resource connection—the number
beside the line. Alternatively, a pool can
be set in push mode. In this mode, when
the pool fires, it pushes resources along
its output connections.
Pulling and Pushing Resources
Time Modes
Games can handle time in different ways. Board games are
often turn-based, while in many video games the game is active
even if the player doesn’t do anything. To
represent different types of games, a Machinations diagram
can operate in one of three different time modes:
Time Modes
Games can handle time in different ways. Board games are
often turn-based, while in many video games the game is active
even if the player doesn’t do anything. To
represent different types of games, a Machinations diagram
can operate in one of three different time modes:
Time Modes
Games can handle time in different ways. Board games are
often turn-based, while in many video games the game is active
even if the player doesn’t do anything. To
represent different types of games, a Machinations diagram
can operate in one of three different time modes:
State Changes
LABEL MODIFIERS
State Changes
NODE MODIFIERS
State Changes
NODE MODIFIERS
State Changes
TRIGGERS
State Changes
ACTIVATORS
For example, in the board game Caylus,
players place their laborers (a resource) at
particular buildings on the board to enable
them to execute special actions associated
with that building. For example, a player
might place a laborer at a gold mine to collect
gold (Figure 5.15).
Advanced Node Types
Gates
In contrast to a pool, a gate does not collect resources. Instead,
it immediately redistributes them. Gates are represented as
diamond shapes that often have multiple
outputs (Figure 5.16).
Gates
In contrast to a pool, a gate does not collect resources. Instead,
it immediately redistributes them. Gates are represented as
diamond shapes that often have multiple
outputs (Figure 5.16).
Sources
Sources are nodes that create resources. They are represented
as a triangle pointing upward (Figure 5.18). Any node in a
Machinations diagram can be automatic (the
default), interactive, or passive, or it can activate once before a
diagram starts.
Sources
Drains
Drains are nodes that consume resources; a resource that goes
into a drain disappears permanently. The Machinations
framework includes a special drain node
represented as a triangle pointing downward (Figure 5.19).
Converters
Converters convert one resource into another. They are
represented as a triangle pointing to the right with a vertical
line through it (Figure 5.20).
Converters are designed to model things like factories that turn
raw materials into finished products. A windmill, for example,
turns wheat into flour. Converters act exactly as a
drain that triggers a source, consuming one resource to
produce another.
Converters
Converters convert one resource into another. They are
represented as a triangle pointing to the right with a vertical
line through it (Figure 5.20).
Converters are designed to model things like factories that turn
raw materials into finished products. A windmill, for example,
turns wheat into flour. Converters act exactly as a
drain that triggers a source, consuming one resource to
produce another.
Traders
Traders are nodes that cause resources to change ownership
when fired: Two players could use a trader to exchange
resources. Machinations diagrams represent a trader as a
vertical line over two triangles that point left and right (Figure
5.22).
End Conditions
Games end when certain conditions are fulfilled. Sometimes
they end when a player reaches a certain goal or when time
runs out or when all players but one
are eliminated. Machinations diagrams use end conditions to
specify end states.
Modeling Pac-Man
Resources
Dots
Power
Pills
Fruits
Lives Ghosts Threat
POints
Dots
The Fruit Mechanism
Ghosts Produce Threat
Capture and loss of life
Power Pills
The last mechanism to be added to the diagram is the
mechanism that allows players to eat the ghosts by eating
power pills. Figure 5.28 adds this mechanism (light
blue) to the diagram and represents the full game. Power pills
start as a limited supply.
The player can choose to use them by clicking the Eat Power
Pill converter to convert a power pill into power-up time, an
abstract resource that is automatically
drained.
The Complete
Diagram
Summary
• In this chapter, we described the Machinations framework in some detail.
• Machinations diagrams consist of nodes that perform functions on resources.
• The most basic type of node is the pool, which stores resources. Nodes are joined to each other by arrows
called resource connections, which govern where, when, and how many resources travel from one node
to another.
• State connections, shown as a dotted arrow, permit the operation of the mechanics to change the
behavior of resource connections and the number of items in a pool and to trigger (or inhibit) events.
Exercises
Exercises
Exercises

Contenu connexe

Plus de Hamzah Asyrani Sulaiman

03 - Complex systems and the structure of Emergence
03 - Complex systems and the structure of Emergence03 - Complex systems and the structure of Emergence
03 - Complex systems and the structure of EmergenceHamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 8 v1.0 (2019 edition)
GAME MECHANIC - chapter 8 v1.0 (2019 edition)GAME MECHANIC - chapter 8 v1.0 (2019 edition)
GAME MECHANIC - chapter 8 v1.0 (2019 edition)Hamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 7 v1.0 (2018 edition)
GAME MECHANIC - chapter 7 v1.0 (2018 edition)GAME MECHANIC - chapter 7 v1.0 (2018 edition)
GAME MECHANIC - chapter 7 v1.0 (2018 edition)Hamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 6 v1.0 (2018 edition)
GAME MECHANIC - chapter 6 v1.0 (2018 edition)GAME MECHANIC - chapter 6 v1.0 (2018 edition)
GAME MECHANIC - chapter 6 v1.0 (2018 edition)Hamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 4 v1.1 (2018 edition)
GAME MECHANIC - chapter 4 v1.1 (2018 edition)GAME MECHANIC - chapter 4 v1.1 (2018 edition)
GAME MECHANIC - chapter 4 v1.1 (2018 edition)Hamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 3 v1.1 (2018 edition)
GAME MECHANIC - chapter 3 v1.1 (2018 edition)GAME MECHANIC - chapter 3 v1.1 (2018 edition)
GAME MECHANIC - chapter 3 v1.1 (2018 edition)Hamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 2 v1.1 (2018 edition)
GAME MECHANIC - chapter 2 v1.1 (2018 edition)GAME MECHANIC - chapter 2 v1.1 (2018 edition)
GAME MECHANIC - chapter 2 v1.1 (2018 edition)Hamzah Asyrani Sulaiman
 
GAME MECHANIC - chapter 1 v1.4 (2019 edition)
GAME MECHANIC - chapter 1 v1.4 (2019 edition)GAME MECHANIC - chapter 1 v1.4 (2019 edition)
GAME MECHANIC - chapter 1 v1.4 (2019 edition)Hamzah Asyrani Sulaiman
 

Plus de Hamzah Asyrani Sulaiman (11)

04 - Internal Economy
04 - Internal Economy04 - Internal Economy
04 - Internal Economy
 
03 - Complex systems and the structure of Emergence
03 - Complex systems and the structure of Emergence03 - Complex systems and the structure of Emergence
03 - Complex systems and the structure of Emergence
 
02 - Emergence and Progression
02 - Emergence and Progression02 - Emergence and Progression
02 - Emergence and Progression
 
01 - Introduction to Game Mechanics
01 - Introduction to Game Mechanics01 - Introduction to Game Mechanics
01 - Introduction to Game Mechanics
 
GAME MECHANIC - chapter 8 v1.0 (2019 edition)
GAME MECHANIC - chapter 8 v1.0 (2019 edition)GAME MECHANIC - chapter 8 v1.0 (2019 edition)
GAME MECHANIC - chapter 8 v1.0 (2019 edition)
 
GAME MECHANIC - chapter 7 v1.0 (2018 edition)
GAME MECHANIC - chapter 7 v1.0 (2018 edition)GAME MECHANIC - chapter 7 v1.0 (2018 edition)
GAME MECHANIC - chapter 7 v1.0 (2018 edition)
 
GAME MECHANIC - chapter 6 v1.0 (2018 edition)
GAME MECHANIC - chapter 6 v1.0 (2018 edition)GAME MECHANIC - chapter 6 v1.0 (2018 edition)
GAME MECHANIC - chapter 6 v1.0 (2018 edition)
 
GAME MECHANIC - chapter 4 v1.1 (2018 edition)
GAME MECHANIC - chapter 4 v1.1 (2018 edition)GAME MECHANIC - chapter 4 v1.1 (2018 edition)
GAME MECHANIC - chapter 4 v1.1 (2018 edition)
 
GAME MECHANIC - chapter 3 v1.1 (2018 edition)
GAME MECHANIC - chapter 3 v1.1 (2018 edition)GAME MECHANIC - chapter 3 v1.1 (2018 edition)
GAME MECHANIC - chapter 3 v1.1 (2018 edition)
 
GAME MECHANIC - chapter 2 v1.1 (2018 edition)
GAME MECHANIC - chapter 2 v1.1 (2018 edition)GAME MECHANIC - chapter 2 v1.1 (2018 edition)
GAME MECHANIC - chapter 2 v1.1 (2018 edition)
 
GAME MECHANIC - chapter 1 v1.4 (2019 edition)
GAME MECHANIC - chapter 1 v1.4 (2019 edition)GAME MECHANIC - chapter 1 v1.4 (2019 edition)
GAME MECHANIC - chapter 1 v1.4 (2019 edition)
 

Dernier

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Dernier (20)

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

GAME MECHANIC - chapter 5 v1.1 (2019 edition)

  • 2. Machinations is more than just a visual language for creating diagrams, however. Dormans has built an online tool for drawing the diagrams and simulating them in real time. With it, you can construct and save Machinations diagrams easily, and you can also study the behavior of your internal economy. You can find the tool at www.jorisdormans.nl/machinations.
  • 5.
  • 7. Pools and Resources The most basic node type in a Machinations diagram is the pool. A pool is a location in the diagram where resources gather. Pools are represented as open circles, while the resources that are stored in a pool are represented as smaller, colored circles that stack on them (Figure 5.2).
  • 8. Resource Connections Individual resources can move from node to node through a Machinations diagram along resource connections that are represented as solid arrows connecting the nodes of the diagram (Figure 5.3).
  • 10.
  • 11. Activation Modes • A node can fire automatically, which means it simply fires every iteration. All automatic nodes fire simultaneously. • A node can be interactive, which means it represents a player action and fires in response to that action. In a digital version of a Machinations diagram, interactive nodes fire after the user clicks them. • A node can be a starting action, which means that it fires only once, before the first iteration. In the Machinations Tool, starting actions fire immediately after the user clicks the run button. • A node can be passive, which means it can fire only in response to a trigger generated by another element (we discuss triggers shortly).
  • 13. Pulling and Pushing Resources When a pool fires, it will try to pull resources through any inputs connected to it. The number of resources it pulls is determined by the rate of the individual input resource connection—the number beside the line. Alternatively, a pool can be set in push mode. In this mode, when the pool fires, it pushes resources along its output connections.
  • 14. Pulling and Pushing Resources
  • 15.
  • 16. Time Modes Games can handle time in different ways. Board games are often turn-based, while in many video games the game is active even if the player doesn’t do anything. To represent different types of games, a Machinations diagram can operate in one of three different time modes:
  • 17. Time Modes Games can handle time in different ways. Board games are often turn-based, while in many video games the game is active even if the player doesn’t do anything. To represent different types of games, a Machinations diagram can operate in one of three different time modes:
  • 18. Time Modes Games can handle time in different ways. Board games are often turn-based, while in many video games the game is active even if the player doesn’t do anything. To represent different types of games, a Machinations diagram can operate in one of three different time modes:
  • 19.
  • 24. State Changes ACTIVATORS For example, in the board game Caylus, players place their laborers (a resource) at particular buildings on the board to enable them to execute special actions associated with that building. For example, a player might place a laborer at a gold mine to collect gold (Figure 5.15).
  • 26. Gates In contrast to a pool, a gate does not collect resources. Instead, it immediately redistributes them. Gates are represented as diamond shapes that often have multiple outputs (Figure 5.16).
  • 27. Gates In contrast to a pool, a gate does not collect resources. Instead, it immediately redistributes them. Gates are represented as diamond shapes that often have multiple outputs (Figure 5.16).
  • 28.
  • 29. Sources Sources are nodes that create resources. They are represented as a triangle pointing upward (Figure 5.18). Any node in a Machinations diagram can be automatic (the default), interactive, or passive, or it can activate once before a diagram starts.
  • 31. Drains Drains are nodes that consume resources; a resource that goes into a drain disappears permanently. The Machinations framework includes a special drain node represented as a triangle pointing downward (Figure 5.19).
  • 32. Converters Converters convert one resource into another. They are represented as a triangle pointing to the right with a vertical line through it (Figure 5.20). Converters are designed to model things like factories that turn raw materials into finished products. A windmill, for example, turns wheat into flour. Converters act exactly as a drain that triggers a source, consuming one resource to produce another.
  • 33. Converters Converters convert one resource into another. They are represented as a triangle pointing to the right with a vertical line through it (Figure 5.20). Converters are designed to model things like factories that turn raw materials into finished products. A windmill, for example, turns wheat into flour. Converters act exactly as a drain that triggers a source, consuming one resource to produce another.
  • 34. Traders Traders are nodes that cause resources to change ownership when fired: Two players could use a trader to exchange resources. Machinations diagrams represent a trader as a vertical line over two triangles that point left and right (Figure 5.22).
  • 35. End Conditions Games end when certain conditions are fulfilled. Sometimes they end when a player reaches a certain goal or when time runs out or when all players but one are eliminated. Machinations diagrams use end conditions to specify end states.
  • 38. Dots
  • 41. Capture and loss of life
  • 42. Power Pills The last mechanism to be added to the diagram is the mechanism that allows players to eat the ghosts by eating power pills. Figure 5.28 adds this mechanism (light blue) to the diagram and represents the full game. Power pills start as a limited supply. The player can choose to use them by clicking the Eat Power Pill converter to convert a power pill into power-up time, an abstract resource that is automatically drained.
  • 44. Summary • In this chapter, we described the Machinations framework in some detail. • Machinations diagrams consist of nodes that perform functions on resources. • The most basic type of node is the pool, which stores resources. Nodes are joined to each other by arrows called resource connections, which govern where, when, and how many resources travel from one node to another. • State connections, shown as a dotted arrow, permit the operation of the mechanics to change the behavior of resource connections and the number of items in a pool and to trigger (or inhibit) events.