Abstract
In Real-Time Strategy (RTS) games, players develop an army
in real time, then attempt to take out one or more opp onents. Despite
the existence of basic similarities among the many dierent RTS games,
engines of these games are often built ad ho c, and co de re-use among
dierent titles is minimal. We created a design pattern called Resource
Entity Action (REA) that abstracts the basic interactions that entities
have with each other in most RTS games. This pap er discusses REA
and language abstraction and implementation using the Casanova game
programming language. Our analysis shows that not only the pattern
forms a solid basis for a playable RTS game, but also that it achieves
considerable gains in terms of lines of co de and runtime eciency. We
conclude that the REA pattern is suitable approach to the implementa-
tion of many RTS games
in real time, then attempt to take out one or more opp onents. Despite
the existence of basic similarities among the many dierent RTS games,
engines of these games are often built ad ho c, and co de re-use among
dierent titles is minimal. We created a design pattern called Resource
Entity Action (REA) that abstracts the basic interactions that entities
have with each other in most RTS games. This pap er discusses REA
and language abstraction and implementation using the Casanova game
programming language. Our analysis shows that not only the pattern
forms a solid basis for a playable RTS game, but also that it achieves
considerable gains in terms of lines of co de and runtime eciency. We
conclude that the REA pattern is suitable approach to the implementa-
tion of many RTS games
Original language | English |
---|---|
Title of host publication | Proceedings of the 8th International Computer and Games Conference |
Place of Publication | Germany |
Publisher | Springer Verlag |
Publication status | Published - 2014 |
Event | Computers and Games Conference - Yokohama, Japan Duration: 12 Aug 2013 → 18 Aug 2013 |
Publication series
Name | LNCS |
---|---|
Volume | 8427 |
Conference
Conference | Computers and Games Conference |
---|---|
Country/Territory | Japan |
City | Yokohama |
Period | 12/08/13 → 18/08/13 |