Developing Natural Language Enabled Games in SCXML
Jenny Brusk* and Torbjörn Lager**
*Department of Game Design, Narrative and Time-based Media, Gotland University, Sweden
**Department of Linguistics, Göteborg University, Sweden
The World Wide Web Consortium (W3C) has a standard in the pipeline – called SCXML – that may turn out to be very suitable for the design and implementation of games, in particular games featuring (possibly multimodal) natural language dialogue. We see three main reasons why SCXML may be a good fit for the game industry: 1) SCXML is all about statecharts – a powerful extension of finite-state machines – and we argue that statecharts has the right kind of expressivity for game design and de-velopment, 2) SCXML is an XML dialect (soon to be) endorsed by the W3C, and will thus become a part of a web infrastructure comprising speech technology and telephony, as well as other useful technologies for building games of certain genres, and 3) SCXML is designed for extensibility and it appears that it would be fairly straightforward – and very worthwhile – to build a game oriented extension (“profile”) around the SCXML core. The paper also presents an experimental implementation of SCXML, accessible from a user-friendly web-interface.
-  D. Harel “Statecharts: A Visual Formalism for Complex Systems,” Science of Computer Programming, Vol.8, pp. 231-274, 1987.
-  M. Samek, “Practical Statecharts in C/C++,” CMP-Books, 2002.
-  I. Horrocks, “Constructing the User Interface with Statecharts,” Addison Wesley, 1999.
-  S. Björk and J. Holopainen, “Patterns in Game Design,” Charles River Media, 2005.
-  R. Wallace, “Artificial Intelligence Markup Language (AIML) Version 1.0.1, Working Draft 2005,” 2005.
-  J. Barnett, M. Bodell, J. Carter, and R. Hosn, “State Chart XML (SCXML): State Machine Notation for Control,” February 2007.
This article is published under a Creative Commons Attribution-NoDerivatives 4.0 Internationa License.