In many Real-Time Strategy (RTS) games, players develop an army in real time, then attempt to take out one or more opponents. Despite the existence of basic similarities among the many different RTS games, engines of these games are often built ad hoc, and code re-use among different titles is minimal. We identify a design pattern called “Resource Entity Action” (REA) that abstracts the basic interactions that entities have with each other in most RTS games. This paper discusses the REA pattern and its language abstraction. We also discuss the implementation in the Casanova game programming language. Our analysis shows that the pattern forms a solid basis for a playable RTS game, and also that it achieves considerable gains in terms of lines of code and runtime efficiency. We conclude that the REA pattern is a suitable approach for the implementation of many RTS games.

Resource Entity Action: A generalized design pattern for RTS games

ABBADI, MOHAMED;DI GIACOMO, FRANCESCO;MAGGIORE, GIUSEPPE;ORSINI, Renzo;
2013-01-01

Abstract

In many Real-Time Strategy (RTS) games, players develop an army in real time, then attempt to take out one or more opponents. Despite the existence of basic similarities among the many different RTS games, engines of these games are often built ad hoc, and code re-use among different titles is minimal. We identify a design pattern called “Resource Entity Action” (REA) that abstracts the basic interactions that entities have with each other in most RTS games. This paper discusses the REA pattern and its language abstraction. We also discuss the implementation in the Casanova game programming language. Our analysis shows that the pattern forms a solid basis for a playable RTS game, and also that it achieves considerable gains in terms of lines of code and runtime efficiency. We conclude that the REA pattern is a suitable approach for the implementation of many RTS games.
2013
Proceedings of the 8th International Conference on Computers and Games (CG2013)
File in questo prodotto:
File Dimensione Formato  
abbadi-resources_entities_actions_a_generalized_design_pattern-118.pdf

non disponibili

Tipologia: Documento in Pre-print
Licenza: Accesso chiuso-personale
Dimensione 584.99 kB
Formato Adobe PDF
584.99 kB Adobe PDF   Visualizza/Apri

I documenti in ARCA sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10278/39922
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 0
social impact