Implementing game requirements using design patterns. Issue 12 (3rd November 2021)
- Record Type:
- Journal Article
- Title:
- Implementing game requirements using design patterns. Issue 12 (3rd November 2021)
- Main Title:
- Implementing game requirements using design patterns
- Authors:
- Paschali, Maria‐Eleni
Volioti, Christina
Ampatzoglou, Apostolos
Gkagkas, Anastasios
Stamelos, Ioannis
Chatzigeorgiou, Alexander - Abstract:
- Abstract: Game mechanics are high‐level descriptions of common game requirements; however, they do not provide any guidance on their code implementation. Nevertheless, their implementation involves high volumes of essential complexity, which in turn leads to the introduction of accidental complexity (long methods, code repetition, etc.). A possible solution to this problem is to map game mechanics to design patterns, in order to provide template instantiations that handle structural complexity. The aim of this study is twofold: (a) introduce template instantiations of game mechanics with Gang of Four (GoF) patterns and (b) evaluate such mappings in terms of extendibility and reusability. To achieve these objectives, we developed an online repository of mappings between GoF patterns and game mechanics and conducted an experiment to explore the benefits of the mapping. The results of the study suggest that the implementation of game mechanics with GoF patterns is beneficial, because the time to extent the current implementation or reuse code chunks is not prolonged, whereas the implementations are less faulty. Finally, the suggested mapping will equip game mechanics with sample implementations (that adhere to good design principles—ensuring extendibility) that can be reused, acting as a starting point for source code development. Abstract : Game mechanics do not provide any guidance on their code implementation and usually involve high volumes of complexity. We propose theAbstract: Game mechanics are high‐level descriptions of common game requirements; however, they do not provide any guidance on their code implementation. Nevertheless, their implementation involves high volumes of essential complexity, which in turn leads to the introduction of accidental complexity (long methods, code repetition, etc.). A possible solution to this problem is to map game mechanics to design patterns, in order to provide template instantiations that handle structural complexity. The aim of this study is twofold: (a) introduce template instantiations of game mechanics with Gang of Four (GoF) patterns and (b) evaluate such mappings in terms of extendibility and reusability. To achieve these objectives, we developed an online repository of mappings between GoF patterns and game mechanics and conducted an experiment to explore the benefits of the mapping. The results of the study suggest that the implementation of game mechanics with GoF patterns is beneficial, because the time to extent the current implementation or reuse code chunks is not prolonged, whereas the implementations are less faulty. Finally, the suggested mapping will equip game mechanics with sample implementations (that adhere to good design principles—ensuring extendibility) that can be reused, acting as a starting point for source code development. Abstract : Game mechanics do not provide any guidance on their code implementation and usually involve high volumes of complexity. We propose the mapping of game mechanics and design patterns through template instantiations; developing an online repository of such mappings. The results of the study suggest that the implementation of game mechanics with GoF patterns is beneficial, because the time to extent the current implementation or reuse code chunks is not prolonged, whereas the implementations are less faulty. … (more)
- Is Part Of:
- Journal of software. Volume 33:Issue 12(2021)
- Journal:
- Journal of software
- Issue:
- Volume 33:Issue 12(2021)
- Issue Display:
- Volume 33, Issue 12 (2021)
- Year:
- 2021
- Volume:
- 33
- Issue:
- 12
- Issue Sort Value:
- 2021-0033-0012-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2021-11-03
- Subjects:
- design patterns -- game mechanics -- maintainability -- reusability
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.2399 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 19951.xml