Skip to main content Accessibility help
×
Hostname: page-component-5b777bbd6c-v47t2 Total loading time: 0 Render date: 2025-06-19T08:06:14.443Z Has data issue: false hasContentIssue false

The Game of Hex: The Hierarchical Approach

Published online by Cambridge University Press:  29 May 2025

Richard Nowakowski
Affiliation:
Dalhousie University, Nova Scotia
Get access

Summary

ABSTRACT. Hex is a beautiful and mind-challenging game with simple rules and a strategic complexity comparable to that of Chess and Go. Hex positions do not tend to decompose into sums of independent positions. Nevertheless, we demonstrate how to reduce evaluation of Hex positions to an analysis of a hierarchy of simpler positions. We explain how this approach is implemented in Hexy, the strongest Hex-playing computer program, and Gold Medalist of the 5th Computer Olympiad in London, August 2000.

1. Introduction

The rules of Hex are extremely simple. Nevertheless, Hex requires both deep strategic understanding and sharp tactical skills. The massive game-tree search techniques developed over the last 30-40 years mostly for Chess (Adelson-Velsky, Arlazarov, and Donskoy 1988; Marsland 1986), and successfully used for Checkers (Schaeffer et al. 1996), and a number of other games, become less useful for games with large branching factors like Hex and Go. For a classic 11 x 11 Hex board the average number of legal moves is about 100 (compare with 40 for Chess and 8 for Checkers).

Combinatorial (additive) Game Theory provides very powerful tools for analysis of sums of large numbers of relatively simple games (Conway 1976; Berlekamp, Conway, and Guy 1982; Nowakowski 1996), and can be also very useful in situations, when complex positions can be decomposed into sums of simpler ones. This method is particularly useful for an analysis of Go endgames (Berlekamp and Wolfe 1994; Müller 1999).

Hex positions do not tend to decompose into these types of sums. Nevertheless, many Hex positions can be considered as combinations of simpler subgames. We concentrate on the hierarchy of these subgames and define a set of deduction rules, which allow to calculate values of complex subgames recursively, starting from the simplest ones. Integrating the information about subgames of this hierarchy, we build a far-sighted evaluation function, foreseeing the potential of Hex positions many moves ahead.

In Section 2 we introduce the game of Hex and its history. In Section 3 we discuss the concept of virtual connections. In Section 4 we introduce the AND and OR deduction rules. In Section 5 we show how to recursively calculate the hierarchy of virtual connections.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2002

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Book purchase

Temporarily unavailable

Save book to Kindle

To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×