Skip to main content

A Natural Language Interface for a 2D Networked Game

  • Conference paper
Human-Computer Interaction. HCI Applications and Services (HCI 2007)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4553))

Included in the following conference series:

  • 2653 Accesses

Abstract

This paper describes a system for playing a digital version of a board game using natural language. We consider the control of the game through players interacting with a 2D graphical interface by typing in appropriate text instructions. Such an input is syntactically parsed using a set of pushdown transducers to generate a simplified string representation of the original user’s sentence. Further, a semantic parser splits the new input representation into a series of frames, each one representing the semantics of the underlying text chunks. Based on the game logic and according to context information, we resolve ambiguities and incompleteness within these data structures and generate a set of possible game instructions. Eventually, we check preconditions related to the validity of the hypothesized commands and, if the preconditions are met, the equivalent instructions are carried out and the game state is updated. For testing purposes, we fed our system with game instructions that are automatically generated by an equivalent context free grammar that can be described by our pushdown transducers. In the case of parseable instructions, the system has been shown to properly perform with over 98% accuracy. The application can be played over the network based on a client/server architecture where players exchange periodic updates through a central host.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. http://java.sun.com/javase/technologies/core/basic/rmi/index.jsp

  2. Abney, S.: Partial Parsing via Finite-State Cascades. In: Proceedings of the ESSLLI Robust Parsing Workshop, pp. 8–15 (1996)

    Google Scholar 

  3. Allen, J.: Natural Language Understanding, 2nd edn. Addison Wesley, Reading (1994)

    Google Scholar 

  4. Castronova, E.: Synthetic Worlds: The Business and Culture of Online Games. University of Chicago Press, Chicago (2005)

    Google Scholar 

  5. Cheyer, A., Martin, D.: The Open Agent Architecture, Autonomous Agents and Multi-Agent Systems 4(1-2), 143–148 (2001)

    Google Scholar 

  6. Delest, M.P., Viennot, G.: Algebraic Languages and Polyominoes Enumeration. Theoretical Computer Science 34, 169–206 (1984)

    Article  MATH  Google Scholar 

  7. DePristo, M., Zubek, R.: being-in-the-world. In: Proceedings of the AAAI Spring Symposium. On AI and Interactive Entertainment (2001)

    Google Scholar 

  8. Fernández, R., Lucht, T., Rodríguez, K., Schlangen, D.: Interaction in Task-Oriented Human-Human Dialogue: The Effects of Different Turn-Taking Policies. In: Proceedings of the 1st Intern. IEEE/ACL Workshop on Spoken Language Technology, Palm Beach, Aruba (2006)

    Google Scholar 

  9. Fernández, R., Corradini, A., Schlangen, D., Stede, M.: Towards Reducing and Managing Uncertainty in Spoken Dialogue Systems. In: Proceedings of the 7th International Workshop on Computational Semantics, Tilburg, The Netherlands (2007)

    Google Scholar 

  10. Fletcher, J.G.: A Program to Solve the Pentomino Problem by the Recursive Use of Macros. Communications of the ACM 8(10), 621–623 (1965)

    Article  Google Scholar 

  11. Gabsdil, M., Koller, A., Striegnitz, K.: Natural language and inference in a computer game. In: Proceedings of COLING, Taipei (2002)

    Google Scholar 

  12. Golomb, W.S.: Polyominoes, 2nd edn. Princeton University Press, Princeton (1994)

    MATH  Google Scholar 

  13. Grünbaum, B., Shephard, G.C.: Tilings & Patterns. W.H. Freeman and Company, New York (1987)

    MATH  Google Scholar 

  14. Hlubocky, B., Amir, E.: Knowledge-gathering agents in adventure Games. In: AAAI Workshop on Challenges in Game AI, AAAI Press, Stanford, California, USA (2004)

    Google Scholar 

  15. Johnston, M., Cohen, P.R., McGee, D., Oviatt, S.L., Pittman, J.A., Smith, I.: Unification-based Multimodal Integration. In: Proceedings of the Annual Meeting of the Association for Computational Linguistics, pp. 281–288 (1997)

    Google Scholar 

  16. Koller, A., Debusmann, R., Gabsdil, M., Striegnitz, K.: Put My Galakmid Coin into the Dispenser and Kick It: Computational Linguistics and Theorem Proving in a Computer Game. Journal of Logic, Language and Information 13, 187–206 (2004)

    Article  MATH  Google Scholar 

  17. Leech, G., Garside, R., Bryant, M.: CLAWS4: The tagging of the British National Corpus. In: Proceedings of the 15th International Conference on Computational Linguistics (COLING), Kyoto, Japan, pp. 622–628 (1994)

    Google Scholar 

  18. Mantion, M.E.: The Economics of Online Gaming: A White Paper Based on In-Stat/MDR’s Industry Leading Advanced Carries – Residential Research, Report No. WP030102WP (2003)

    Google Scholar 

  19. Martin, E.G.: Polyominoes: A guide to puzzles and problems in tiling, Mathematical Association of America, 2nd edn. (1996)

    Google Scholar 

  20. Mohri, M.-J., Nederhof, M.-J.: Regular approximation of context-free grammars. In: Junqua, J.-C., van Noord, G. (eds.) Robustness in Language and Speech Processingpp, pp. 251–261. Kluwer Academic Publishers, Dordrecht (2000)

    Google Scholar 

  21. Nederhof, M.-J.: Practical experiments with regular approximation of context-free languages. Computational Linguistics 26(1) (2000)

    Google Scholar 

  22. Nederhof, M.-J.: Regular approximation of CFLs: a grammatical view. In: Bunt, H., Nijholt, A. (eds.), Advances in Probabilistic and other Parsing Technologies, ch. 12, pp. 221–241, Kluwer Academic Publishers (2000)

    Google Scholar 

  23. Nielsen, J., Molich, R.: Heuristic evaluation of user interfaces. In: Proceedings of the ACM CHI Conference, Seattle, WA, pp. 249–256 (1990)

    Google Scholar 

  24. Nielsen, J.: Heuristic evaluation. In: Nielsen, J., Mack, R.L. (eds.) Usability Inspection Methods, John Wiley & Sons, New York, NY (1994)

    Google Scholar 

  25. Vogel, L.H.: Entertainment Industry Economics, 6th edn. Cambridge University Press, Cambridge (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Julie A. Jacko

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Corradini, A., Bak, A., Hanneforth, T. (2007). A Natural Language Interface for a 2D Networked Game. In: Jacko, J.A. (eds) Human-Computer Interaction. HCI Applications and Services. HCI 2007. Lecture Notes in Computer Science, vol 4553. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73111-5_26

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73111-5_26

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73109-2

  • Online ISBN: 978-3-540-73111-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics