Concise QBF Encodings for Games on a Grid (extended version)

03/29/2023
by   Irfansha Shaik, et al.
0

Encoding 2-player games in QBF correctly and efficiently is challenging and error-prone. To enable concise specifications and uniform encodings of games played on grid boards, like Tic-Tac-Toe, Connect-4, Domineering, Pursuer-Evader and Breakthrough, we introduce Board-game Domain Definition Language (BDDL), inspired by the success of PDDL in the planning domain. We provide an efficient translation from BDDL into QBF, encoding the existence of a winning strategy of bounded depth. Our lifted encoding treats board positions symbolically and allows concise definitions of conditions, effects and winning configurations, relative to symbolic board positions. The size of the encoding grows linearly in the input model and the considered depth. To show the feasibility of such a generic approach, we use QBF solvers to compute the critical depths of winning strategies for instances of several known games. For several games, our work provides the first QBF encoding. Unlike plan validation in SAT-based planning, validating QBF-based winning strategies is difficult. We show how to validate winning strategies using QBF certificates and interactive game play.

READ FULL TEXT

page 3

page 5

page 6

page 17

page 18

page 19

page 20

page 21

research
01/18/2023

Implicit State and Goals in QBF Encodings for Positional Games (extended version)

We address two bottlenecks for concise QBF encodings of maker-breaker po...
research
11/14/2014

Automatic Generation of Alternative Starting Positions for Simple Traditional Board Games

Simple board games, like Tic-Tac-Toe and CONNECT-4, play an important ro...
research
05/11/2020

Positional Games and QBF: The Corrective Encoding

Positional games are a mathematical class of two-player games comprising...
research
10/19/2017

Go game formal revealing by Ising model

Go gaming is a struggle for territory control between rival, black and w...
research
07/18/2021

Train on Small, Play the Large: Scaling Up Board Games with AlphaZero and GNN

Playing board games is considered a major challenge for both humans and ...
research
02/17/2016

11 x 11 Domineering is Solved: The first player wins

We have developed a program called MUDoS (Maastricht University Domineer...
research
09/10/2020

Finite Group Equivariant Neural Networks for Games

Games such as go, chess and checkers have multiple equivalent game state...

Please sign up or login with your details

Forgot password? Click here to reset