Abstract
The search engines of high-performance game-playing programs are becoming increasingly complex as more and more enhancements are added. To maintain and enhance such complex engines is a challenging task, and the risk of introducing bugs or other unwanted behavior during modifications is substantial. In this paper we introduce the Game Tree Query Language (GTQL), a query language specifically designed for analyzing game trees. The language can express queries about complex game-tree structures, including hierarchical relationships and aggregated attributes over subtree data. We also discuss the design and implementation of the Game Tree Query Tool (GTQT), a software tool that allows efficient execution of GTQL queries on game-tree log files. The tool helps program developers to gain added insight into the search process of their engines, as well as making regression testing easier. Furthermore, we use the tool to analyze and find interesting anomalies in search trees generated by a competitive chess program.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Billings, D., Björnsson, Y.: Search and knowledge in Lines of Action. In: van den Herik, H.J., Iida, H., Heinz, E.A. (eds.) ACG. IFIP, vol. 263, pp. 231–248. Kluwer, Dordrecht (2003)
Bird, S., Chen, Y., Davidson, S.B., Lee, H., Zheng, Y.: Extending XPath to support linguistic queries. In: Proceedings of Programming Language Technologies for XML (PLANX), Long Beach, California, January 2005, pp. 35–46. ACM Press, New York (2005)
Björnsson, Y.: Selective Depth-First Game-Tree Search. PhD thesis, University of Alberta, Canada (June 2002)
Björnsson, Y., Ísleifsdóttir, J.: Tools for debugging large game trees. In: Proceedings of The Eleventh Game Programming Workshop, Hakone, Japan (2006)
Björnsson, Y., Ísleifsdóttir, J.: GTQL: A query language for game trees. In: Proceedings of The Twelfth Game Programming Workshop, Amsterdam, The Netherlands, pp. 205–216 (2007)
Björnsson, Y., van den Herik, H.J.: The 13th world computer-chess championship. ICGA Journal 28(3), 162–175 (2005)
Buro, M.: How machines have learned to play Othello. IEEE Intelligent Systems 14(6), 12–14 (1999)
Campbell, M., Hoane Jr., A.J., Hsu, F.-h.: Deep blue. Artificial Intelligence 134(1-2), 57–83 (2002)
Chamberlin, D.: XQuery: An XML query language. IBM Systems Journal 41(4), 597–615 (2002)
Clark, J., DeRose, S.: XML path language (XPath) 1.0. Technical report, W3C Recommendation (1999)
Costeff, G.: The Chess Query Language: CQL. ICGA Journal 27(4), 217–225 (2004)
Coulom, R.: Treemaps for search-tree visualization. In: Uiterwijk, J.W.H.M. (ed.) The 7th Computer Olympiad Computer-Games Workshop Proceedings (2002)
Fortuna, A.: Internet Resource, CHANT: A Tool to View Chess Game Trees (2003), http://chessvortex.com/chant
Ísleifsdóttir, J.: GTQL: A Game-Tree Query Language. Master’s thesis, Reykjavik University, Iceland (January 2008), http://www.ru.is/?PageID=7094
Letouzey, F.: Internet Resource, Fruit Chess (2005), http://www.fruitchess.com
Louguet, F.: La Puce Échiquéenne. Internet Resource, LCT II v. 1.21 (2007), http://perso.orange.fr/lefouduroi/testlct2.htm
Sahuguet, A., Alexe, B.: Sub-document queries over XML with XSQirrel. In: WWW 2005: Proceedings of the 14th international conference on World Wide Web, pp. 268–277. ACM Press, New York (2005)
Schaeffer, J.: One Jump Ahead: Challenging Human Supremacy in Checkers. Springer, Heidelberg (1997)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ísleifsdóttir, J., Björnsson, Y. (2008). GTQ: A Language and Tool for Game-Tree Analysis. In: van den Herik, H.J., Xu, X., Ma, Z., Winands, M.H.M. (eds) Computers and Games. CG 2008. Lecture Notes in Computer Science, vol 5131. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-87608-3_20
Download citation
DOI: https://doi.org/10.1007/978-3-540-87608-3_20
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-87607-6
Online ISBN: 978-3-540-87608-3
eBook Packages: Computer ScienceComputer Science (R0)