Denise Graafsma, Bodo Manthey, and Alexander Skopalik: Playing Snake on a Graph
RESERVED
What if you could play the game Snake on an arbitrary graph, and not just on the grid as on your Nokia? This is exactly the main question this paper. The authors show that it is NP-hard to decide whether, given a graph, there is a winning strategy for the snake on the graph no matter where the apples spawn, even if the graph is a subgraph of a grid graph. Next, they also consider some particular cases of graphs and show that while Hamiltonian graphs are (obviously) always winnable, any non-Hamiltonian winnable graph must have girth at most 6, which is tight, and characterize winnable graphs for the classes of graphs with vertex-connectivity 1 and odd-sized bipartite graphs.
This paper is best suited for bachelor students. For any inquiries, feel free to contact Petr Chmel.