<italic>Rulebook</italic> An Architectural Pattern for Self-Amending Mechanics in Digital Games

Wilson Kazuo Mizutani, Fabio Kon

Research output: Contribution to journalArticlepeer-review

Abstract

Mechanics are one of the pillars of gameplay, enabled by the underlying implementation of the game and subject to constant changes during development. In particular, self-amending mechanics adjust themselves dynamically and are a common source of coupled code. The <italic>Rulebook</italic> is an architectural pattern that generalizes how developers prevent coupled code in self-amending mechanics, based on a careful research process including a systematic literature review, semi-structured interviews with professional developers, and quasi-experiments. The pattern codifies changes to the game state as &#x201C;effect&#x201D; objects, which it matches against a dynamic pool of rules. Each rule may amend, resolve, or chain effects. By preventing the control flow of the game from becoming coupled to the specific interactions of mechanics while also promoting an extensible and flexible structure for self-amendment, our solution reduces the time developers need to iterate on the design of mechanics. This paper details the <italic>Rulebook</italic> pattern and presents a case study demonstrating its design process in three different implementations of open-source jam games. Together with the typification of self-amending mechanics, this article formalizes a novel, state-of-the-art toolset for architecting games.

Original languageEnglish
Pages (from-to)1-10
Number of pages10
JournalIEEE Transactions on Games
DOIs
StateAccepted/In press - 2024
Externally publishedYes

Keywords

  • architectural patterns
  • Behavioral sciences
  • Codes
  • Computer architecture
  • Costs
  • digital games
  • Games
  • Object oriented modeling
  • object-oriented design patterns
  • self-amending mechanics
  • software architecture
  • Systematics

ASJC Scopus subject areas

  • Software
  • Control and Systems Engineering
  • Artificial Intelligence
  • Electrical and Electronic Engineering

Fingerprint

Dive into the research topics of '<italic>Rulebook</italic> An Architectural Pattern for Self-Amending Mechanics in Digital Games'. Together they form a unique fingerprint.

Cite this