Skip to main content
Top

2024 | OriginalPaper | Chapter

Enhancing Hex Strategy: AI Based Two-Distance Pruning Approach with Pattern-Enhanced Alpha-Beta Search

Author : Saatvik Saradhi Inampudi

Published in: Advanced Computing

Publisher: Springer Nature Switzerland

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

This paper introduces an effective algorithm designed for creating AI systems for the Hex board strategy game. The core algorithm, developed, employs the two-distance method for both board evaluation and for sorting of the moves. For empty board positions, the sum of two-distances from both ends is calculated to indicate the position’s weight and is used for sorting. Additionally, the Pattern Search algorithm enhances efficiency by prioritizing moves in crucial regions. The algorithm demonstrated consistent performance across various board sizes, including 7 × 7, 9 × 9, and 11 × 11. When implemented as an Android game, this algorithm maintained excellent performance in the given board sizes.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
All figures in this manuscript are from the “Simple Hex Board game with AI”. Link: https://​play.​google.​com/​store/​apps/​details?​id=​com.​SamgoGames.​SimpleHex. The game can be installed and played on android based mobile devices with OS 7.0 and above.
 
Literature
1.
go back to reference Hayward, R.B., Toft, B.: HEX the full story. CRC Recreational Mathematics Series (2019) Hayward, R.B., Toft, B.: HEX the full story. CRC Recreational Mathematics Series (2019)
2.
go back to reference Pierce, J.R.: Symbols, Signals and Noise. Harper and Brothers, pp. 10–13 (1961) Pierce, J.R.: Symbols, Signals and Noise. Harper and Brothers, pp. 10–13 (1961)
3.
go back to reference Chao, G., Hayward, R., Müller, M.: Move prediction using deep convolutional neural networks in Hex. IEEE Trans. Games 10(4), 336–343 (2017) Chao, G., Hayward, R., Müller, M.: Move prediction using deep convolutional neural networks in Hex. IEEE Trans. Games 10(4), 336–343 (2017)
4.
go back to reference Rijswijck, J.V.: Set colouring games. PhD Thesis, Department of Computing Science, University of Alberta, Canada (2006) Rijswijck, J.V.: Set colouring games. PhD Thesis, Department of Computing Science, University of Alberta, Canada (2006)
5.
go back to reference Beck, A., Bleicher, M.N., Crowe, D.W.: Excursions into Mathematics, pp. 317–387. Chapter Games, New York (1969) Beck, A., Bleicher, M.N., Crowe, D.W.: Excursions into Mathematics, pp. 317–387. Chapter Games, New York (1969)
7.
go back to reference Rijswijck, J.V.: Computer Hex: are bees better than fruitflies? Thesis of Master of Science, p. 37, Department of Computing Science, University of Alberta, Canada (2000) Rijswijck, J.V.: Computer Hex: are bees better than fruitflies? Thesis of Master of Science, p. 37, Department of Computing Science, University of Alberta, Canada (2000)
10.
go back to reference Broderick, A., Hayward, R.B., Philip, H.: Monte Carlo tree search in Hex. IEEE Trans. Comput. Intel. AI Games 2(4), 251–258 (2010)CrossRef Broderick, A., Hayward, R.B., Philip, H.: Monte Carlo tree search in Hex. IEEE Trans. Comput. Intel. AI Games 2(4), 251–258 (2010)CrossRef
11.
go back to reference Huang, S.C., Arneson, B., Hayward, R.B., Müller, M., Pawlewicz, J.: MOHEX 2.0: a pattern-based MCTS Hex player. In: International Conference on Computers and Games, Computers and Games (CG 2013), pp. 60–71 (2013) Huang, S.C., Arneson, B., Hayward, R.B., Müller, M., Pawlewicz, J.: MOHEX 2.0: a pattern-based MCTS Hex player. In: International Conference on Computers and Games, Computers and Games (CG 2013), pp. 60–71 (2013)
12.
go back to reference Young, K., Vasan, G., Hayward, R.: NeuroHex: a deep q-learning Hex agent. In: Workshop on Computer Games, International Workshop on General Intelligence in Game Playing Agents (CGW 2016, GIGA 2016), Computer Games (2016) Young, K., Vasan, G., Hayward, R.: NeuroHex: a deep q-learning Hex agent. In: Workshop on Computer Games, International Workshop on General Intelligence in Game Playing Agents (CGW 2016, GIGA 2016), Computer Games (2016)
14.
go back to reference Chao, G., Siqi, Y., Hayward, R., Müller, M.: A transferable neural network for Hex. ICGA J. 40(3), 224–233 (2018) Chao, G., Siqi, Y., Hayward, R., Müller, M.: A transferable neural network for Hex. ICGA J. 40(3), 224–233 (2018)
15.
go back to reference Woodcok, M., Uscategui, F., Corrales, D.: Basic analysis of Hex game. Econógrafos, Escuela de Economía 13417, Universidad Nacional de Colombia, FCE, CID (2015) Woodcok, M., Uscategui, F., Corrales, D.: Basic analysis of Hex game. Econógrafos, Escuela de Economía 13417, Universidad Nacional de Colombia, FCE, CID (2015)
16.
go back to reference Liu, H., Du, X.: Strategy and implementation of Hex. In: Proceedings of the 2020 4th International Conference on Electronic Information Technology and Computer Engineering (EITCE 2020), pp. 800–805 (2020) Liu, H., Du, X.: Strategy and implementation of Hex. In: Proceedings of the 2020 4th International Conference on Electronic Information Technology and Computer Engineering (EITCE 2020), pp. 800–805 (2020)
17.
go back to reference Yang, J., Simon, L., Mirek, P.: A new solution for a 7×7 Hex game (2002) Yang, J., Simon, L., Mirek, P.: A new solution for a 7×7 Hex game (2002)
18.
go back to reference Rasmussen, R.: Algorithmic approaches for playing and solving Shannon games. PhD Dissertation, Faculty of Information Technology, Queensland University of Technology, pp. 24–26, 49–52, 108–111 (2007) Rasmussen, R.: Algorithmic approaches for playing and solving Shannon games. PhD Dissertation, Faculty of Information Technology, Queensland University of Technology, pp. 24–26, 49–52, 108–111 (2007)
Metadata
Title
Enhancing Hex Strategy: AI Based Two-Distance Pruning Approach with Pattern-Enhanced Alpha-Beta Search
Author
Saatvik Saradhi Inampudi
Copyright Year
2024
DOI
https://doi.org/10.1007/978-3-031-56700-1_36

Premium Partner