Back to Search Start Over

The Complexities of Random-Turn Hex, Square, and Triangle Games

Authors :
Yang, Yi
Zhou, Shuigeng
Guan, Jihong
Shen, Chuansheng
Source :
IEEE Transactions on Games; 2022, Vol. 14 Issue: 2 p180-190, 11p
Publication Year :
2022

Abstract

In random-turn games, players toss a coin to decide who moves. This article studies the complexities of the algorithms for playing random-turn connection games perfectly on regular tessellations. Our study theoretically shows that there are algorithms playing random-turn hex, square, and triangle perfectly in <inline-formula><tex-math notation="LaTeX">$O(n^9\cdot 2.618^n)$</tex-math></inline-formula>, <inline-formula><tex-math notation="LaTeX">$O(n^9\cdot 2.746^n)$</tex-math></inline-formula>, and <inline-formula><tex-math notation="LaTeX">$O(n^9\cdot 3.645^n)$</tex-math></inline-formula> time for each move, respectively, where <inline-formula><tex-math notation="LaTeX">$n$</tex-math></inline-formula> is the board size. We then implement the perfect-playing algorithm for the random-turn square and measure the actual running time it costs for each move. We then compute and analyze the game lengths on random-turn square, hex, and triangle and conjecture that the asymptotic complexity of their game lengths are the same. We finally compare the perfect-playing algorithm with the sampling algorithm by competing against each other, and the numbers of their wins and losses are reported.

Details

Language :
English
ISSN :
24751502 and 24751510
Volume :
14
Issue :
2
Database :
Supplemental Index
Journal :
IEEE Transactions on Games
Publication Type :
Periodical
Accession number :
ejs60172102
Full Text :
https://doi.org/10.1109/TG.2020.3033720