ESTONIAN ACADEMY
PUBLISHERS
eesti teaduste
akadeemia kirjastus
PUBLISHED
SINCE 1952
 
Proceeding cover
proceedings
of the estonian academy of sciences
ISSN 1736-7530 (Electronic)
ISSN 1736-6046 (Print)
Impact Factor (2020): 1.045

Implementing artificial intelligence: a generic approach with software support; pp. 27–38

Full article in PDF format | doi: 10.3176/proc.2013.1.04

Authors
Teemu J. Heinimäki, Juha-Matti Vanhatupa

Abstract

In computer games, one of the eminent trends is to create large virtual worlds with numerous non-player characters. Usually their artificial intelligence (AI) is implemented by scripting, which can be a burden for the application developers involved. This paper suggests an approach facilitating designing AI functionalities and striving to reduce, via software tool support, the amount of hand-written AI script code needed. Our approach is suitable for, e.g., creating autonomous agents with personal characteristics, capable of behaving in a natural manner. For instance, the goal-oriented agent paradigm can be applied easily with the approach. The definitions needed are written using a script language. Therefore, the agent configurations can be tested rapidly. We have extended an existing AI environment and created a script framework for implementing general-purpose AIs. Moreover, we have implemented software tools capable of generating script code for helping in the AI structure design and for simplifying the actual code-writing task. For demonstrating the applicability of our approach, three example scenarios specialized from the framework are presented.


References

  1. Bourg, D. M. and Seemann, G. AI for Game Developers. O’Reilly Media, Inc., 2004.

  2. Brandstetter, W. E., Dye, M. P., Phillips, J. D., Porterfield, J. C., Harris, F. C., Jr., and Westphal, B. T. SAI-BOTS: scripted artificial intelligent basic online tank simulator. In Proceedings of the 2005 International Conference on Software Engineering Research and Practice (SERP ’05). 2005, 793–799.

  3. Buckland, M. Programming Game AI by Example. Word\-ware Publishing, Inc., 2005.

  4. DePristo, M. A. and Zubek, R. being-in-the-world. In Proceedings of the 2001 AAAI Spring Symposium on Artificial Intelligence and Interactive Entertainment. 2001, 31–34.

  5. Doulin, A. Scripting your way to advanced AI. In AI Game Programming Wisdom. Vol. 4. Charles River Media, 2008, 579–591.

  6. Fairclough, C., Fagan, M., Mac Namee, B., and Cunningham, P. Research directions for ai in computer games. In Proceedings of the Twelfth Irish Conference on Artificial Intelligence and Cognitive Science. 2001, 333–344.

  7. Heinimäki, T. J. and Vanhatupa, J.-M. Layered artificial intelligence framework for autonomous agents. In Proceedings of the 12th Symposium on Programming Languages and Software Tools (SPLST’11). 2011, 102–113.

  8. Ierusalimschy, R., Celes, W., and de Figueiredo, L. H. About. http://www.lua.org/about.html (accessed 20.09.2011).

  9. Ierusalimschy, R., Celes, W., and de Figueiredo, L. H. The programming language Lua. http://www.lua.org/ (accessed 20.09.2011).

10. Khoo, A., Dunham, G., Trienens, N., and Sood, S. Efficient, realistic NPC control systems using behavior-based techniques. In Proceedings of the AAAI 2002 Spring Symposium Series: Artificial Intelligence and Interactive Entertainment. 2002, 46–51.

11. Lecky-Thompson, G. W. AI and Artificial Life in Video Games. Course Technology (CENCAGE Learning), 2008.

12. Millington, I. Artificial Intelligence for Games. The Morgan Kaufmann Series in Interactive 3D Technology. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2006.

13. Ponsen, M. J. V., Lee-Urban, S., Muñoz-Avila, H., Aha, D. W., and Molineaux, M. Stratagus: an open-source game engine for research in real-time strategy games. In Papers from the {IJCAI} 2005 Workshop on Reasoning, Representation, and Learning in Computer Games. 2005, 78–83.

14. Qt – cross-platform application and UI framework. http://qt.nokia.com/ (accessed 20.09.2011).

15. Shen, Z., Miao, C., Tao, X., and Gay, R. Goal oriented modeling for intelligent software agents. In Proceedings of IEEE/WIC/ACM International Conference on Intelligent Agent Technology, 2004 (IAT 2004)}. 2004, 540–543.

16. Snavely, P. J. Custom tool design for game AI. AI Game Programming Wisdom, 2006, 3, 3–12.

17. Sterling, L. and Taveter, K. The Art of Agent-Oriented Modeling. Intelligent Robotics and Autonomous Agents. The MIT Press, 2009.

18. Vanhatupa, J.-M. and Heinimäki, T. J. Scriptable artificial intelligent game engine for game programming courses. In Proceedings of Informatics Education Europe IV (IEE IV 2009) (Hermann, C. et al., eds). 2009, 27–31.

19. White, W., Demers, A., Koch, C., Gehrke, J., and Rajagopalan, R. Scaling games to epic proportions. In Proceedings of the 2007 ACM SIGMOD International Conference on Management of Data, SIGMOD ’07. ACM, New York, 2007, 31–42.


Back to Issue