All Paths Lead to Rome

07/19/2022
by   Kevin Goergen, et al.
0

All roads lead to Rome is the core idea of the puzzle game Roma. It is played on an n × n grid consisting of quadratic cells. Those cells are grouped into boxes of at most four neighboring cells and are either filled, or to be filled, with arrows pointing in cardinal directions. The goal of the game is to fill the empty cells with arrows such that each box contains at most one arrow of each direction and regardless where we start, if we follow the arrows in the cells, we will always end up in the special Roma-cell. In this work, we study the computational complexity of the puzzle game Roma and show that completing a Roma board according to the rules is an -complete task, counting the number of valid completions is #Ptime-complete, and determining the number of preset arrows needed to make the instance uniquely solvable is Σ_2^P-complete. We further show that the problem of completing a given Roma instance on an n× n board cannot be solved in time 𝒪(2^o(n)) under ETH and give a matching dynamic programming algorithm based on the idea of Catalan structures.

READ FULL TEXT

page 9

page 11

research
11/02/2020

Gourds: a sliding-block puzzle with turning

We propose a new kind of sliding-block puzzle, called Gourds, where the ...
research
04/27/2019

A Note on Computational Complexity of Dou Shou Qi

Dou Shou Qi is a Chinese strategy board game for two players. We use a E...
research
03/09/2018

Computational Complexity of Generalized Push Fight

We analyze the computational complexity of optimally playing the two-pla...
research
03/05/2022

Double Choco is NP-complete

In the Nikoli pencil-and-paper game Double Choco, a puzzle consists of a...
research
02/17/2022

Finding a Battleship of Uncertain Shape

Motivated by a game of Battleship, we consider the problem of efficientl...
research
01/24/2022

Problife: a Probabilistic Game of Life

This paper presents a probabilistic extension of the well-known cellular...
research
07/02/2023

Neuro-Symbolic Sudoku Solver

Deep Neural Networks have achieved great success in some of the complex ...

Please sign up or login with your details

Forgot password? Click here to reset