Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1401843.1401847acmconferencesArticle/Chapter ViewAbstractPublication PagessiggraphConference Proceedingsconference-collections
research-article

Declarative processing for computer games

Published: 09 August 2008 Publication History

Abstract

Most game developers think of databases as nothing more than a persistence solution. However, database research is concerned with the wider problem of declarative processing. In this paper we demonstrate how declarative processing can be applied to computer games. We introduce the state-effect pattern, a design pattern that allows game developers to design parts of their game declaratively. We present SGL, a special scripting language which supports this design pattern and which can be compiled to a declarative language like SQL. We show how database techniques can process this design pattern in a way that improves performance by an order of magnitude or more. Finally, we discuss some design decisions that developers must make in order to adopt this pattern effectively.

References

[1]
Albright, R., Demers, A., Gehrke, J., Gupta, N., Lee, H., Keilty, R., Sadowski, G., Sowell, B., and White, W. 2008. SGL: A scalable language for data-driven games (demonstration paper). In Proc. SIGMOD.
[2]
Bohannon, P., Lieuwen, D., Rastogi, R., Silberschatz, A., Seshadri, S., and Sudarshan, S. 1997. The architecture of the Dalí main-memory storage manager. Multimedia Tools Appl 4, 2, 115--151.
[3]
Boncz, P., and Kersten, M. 1995. Monet: An impressionist sketch of an advanced database system. In Proc. BIWIT.
[4]
Carney, D., Çetintemel, U., Cherniack, M., Convey, C., Lee, S., Seidman, G., Stonebraker, M., Tatbul, N., and Zdonik, S. 2002. Monitoring streams --- a new class of data management applications. In Proc. VLDB.
[5]
Demers, A., Gehrke, J., Panda, B., Riedewald, M., Sharma, V., and White, W. 2007. Cayuga: A general purpose event monitoring system. In CIDR, 412--422.
[6]
Dewitt, D., Ghandeharizadeh, S., Schneider, D., Bricker, A., Hsiao, H., and Rasmussen, R. 1990. The gamma database machine project. IEEE Trans. on Knowledge and Data Engineering 2, 1, 44--62.
[7]
Dunki, Q. 2008. Streaming open world pathfinding. In Proc. GDC.
[8]
Ensemble Studios. 2000. Computer Player Strategy Builder Guide, AI Expert Documentation for Age of Empires II: The Age of Kings. Ensemble Studios.
[9]
Fu, D., Houlette, R., and Jensen, R. 2003. A visual environment for rapid behavior definition. In Proc. Conference on Behavior Representation in Modeling and Simulation.
[10]
Govindaraju, N., Lloyd, B., Wang, W., Lin, M., and Manocha, D. 2004. Fast computation of database operations using graphics processors. In Proc. SIGMOD.
[11]
Kruszewski, P., and van Lent, M. 2007. Not just for combat training: Using game technology in non-kinetic urban simulations. In Proc. Serious Game Summit, GDC.
[12]
Liebgold, D. 2008. Adventures in data compilation and scripting for uncharted: Drake's fortune. In Proc. GDC.
[13]
McNaughton, M., Cutumisu, M., Szafron, D., Schaeffer, J., Redford, J., and Parker, D. 2004. ScriptEase: Generative design patterns for computer role-playing games. In Proc. ACE.
[14]
Motwani, R., Widom, J., Arasu, A., Babcock, B., Babu, S., Datar, M., Manku, G. S., Olston, C., Rosenstein, J., and Varma, R. 2003. Query processing, approximation, and resource management in a data stream management system. In Proc. CIDR.
[15]
Nguyen, H., Ed. 2007. GPU Gems, vol. 3. Addison-Wesley.
[16]
O'Brien, J., and Stout, B. 2007. Embodied agents in dynamic worlds. In Proc. GDC.
[17]
Pike, R., Doward, S., Griesemer, R., and Quinlan, S. 2005. Interpreting the data: Parallel analysis with Sawzall. Scientific Programming Journal 13, 4, 227--204.
[18]
Posniewski, S. 2007. Massively modernized online: MMO technologies for next-gen and beyond. In Proc. Austin GDC.
[19]
Reynolds, C. 1999. Steering behaviors for autonomous characters. In Proc. GDC.
[20]
Stonebraker, M., Katz, R., Patterson, D., and Ousterhout, J. 1988. The design of XPRS. In Proc. VLDB.
[21]
White, W., Demers, A., Koch, C., Gehrke, J., and Rajagopalan, R. 2007. Scaling games to epic proportions. In Proc. SIGMOD, 31--42.
[22]
Zhu, Y., Rundensteiner, E., and Heineman, G. 2004. Dynamic plan migration for continuous queries over data streams. In Proc. SIGMOD.

Cited By

View all
  • (2018)AI-Assisted Game Debugging with Cicero2018 IEEE Congress on Evolutionary Computation (CEC)10.1109/CEC.2018.8477829(1-8)Online publication date: Jul-2018
  • (2014)Games for Research: A Comparative Study of Open Source Game ProjectsEuro-Par 2013: Parallel Processing Workshops10.1007/978-3-642-54420-0_35(353-362)Online publication date: 2014
  • (2012)LEARSProceedings of the 2012 41st International Conference on Parallel Processing Workshops10.1109/ICPPW.2012.55(382-389)Online publication date: 10-Sep-2012
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
Sandbox '08: Proceedings of the 2008 ACM SIGGRAPH symposium on Video games
August 2008
183 pages
ISBN:9781605581736
DOI:10.1145/1401843
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 August 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. databases
  2. games
  3. scripting

Qualifiers

  • Research-article

Funding Sources

Conference

Sandbox '08
Sponsor:
Sandbox '08: An ACM SIGGRAPH Video Game Symposium
August 9 - 10, 2008
California, Los Angeles

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)3
Reflects downloads up to 23 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2018)AI-Assisted Game Debugging with Cicero2018 IEEE Congress on Evolutionary Computation (CEC)10.1109/CEC.2018.8477829(1-8)Online publication date: Jul-2018
  • (2014)Games for Research: A Comparative Study of Open Source Game ProjectsEuro-Par 2013: Parallel Processing Workshops10.1007/978-3-642-54420-0_35(353-362)Online publication date: 2014
  • (2012)LEARSProceedings of the 2012 41st International Conference on Parallel Processing Workshops10.1109/ICPPW.2012.55(382-389)Online publication date: 10-Sep-2012
  • (2011)A Classification of Scripting Systems for Entertainment and Serious Computer GamesProceedings of the 2011 Third International Conference on Games and Virtual Worlds for Serious Applications10.1109/VS-GAMES.2011.13(47-54)Online publication date: 4-May-2011
  • (2010)Behavioral simulations in MapReduceProceedings of the VLDB Endowment10.14778/1920841.19209623:1-2(952-963)Online publication date: 1-Sep-2010
  • (2010)The declarative imperativeACM SIGMOD Record10.1145/1860702.186070439:1(5-19)Online publication date: 27-Sep-2010
  • (2009)Better scripts, better gamesCommunications of the ACM10.1145/1467247.146726252:3(42-47)Online publication date: 1-Mar-2009
  • (2008)Better Scripts, Better GamesQueue10.1145/1483101.14831066:7(18-25)Online publication date: 1-Nov-2008

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media