,
Michel Cosnard
,
Frédéric Havet
,
Takako Kodate
,
Stéphane Pérennes
Creative Commons Attribution 4.0 International license
We introduce and study the directed grabbing game, a directed variation of the graph grabbing game played by two players Alice and Bob on a weighted acyclic digraph D. Alice plays first and then they play alternately. At a given odd (resp. even) move, Alice (resp. Bob) chooses a sink, that is a vertex of out-degree 0, grabs the weight (olives) on it and then removes the vertex. The aim of each player is to grab a maximum weight, i.e. a maximum number of olives. This game is inspired by the behaviour that guests are expected to adopt during a reception or cocktail party. We first consider the case where hors d'oeuvre are arranged on slightly spaced parallel lines, such that politeness allows one to take the first hors d'oeuvre from each line. This corresponds to the directed grabbing game on a union of disjoint directed paths. We give an algorithm that, given a weighted digraph D of order n which is the union of q disjoint directed paths, computes an optimal play in O(nlog q) time. Then we consider the "pissaladière case" where the digraph D is a directed (p× q)-grid. We show that, depending on the parity of pq, one player, called Content, has a strategic advantage. Specifically, Content is Alice when pq is odd and Bob when pq is even. We present some strategies that enable Content to remove some large sets of vertices (of order pq/2) in directed grids. We then derive that Content can remove any given vertex that is not in the border of the grid. Finally, in the case where each vertex contains either zero or one olive, we prove that Content can secure the grabbing of around one third of the olives.
@InProceedings{bermond_et_al:LIPIcs.FUN.2026.8,
author = {Bermond, Jean-Claude and Cosnard, Michel and Havet, Fr\'{e}d\'{e}ric and Kodate, Takako and P\'{e}rennes, St\'{e}phane},
title = {{Directed Grabbing Games or How to Politely Grab the Maximum Number of Olives in a Reception}},
booktitle = {13th International Conference on Fun with Algorithms (FUN 2026)},
pages = {8:1--8:19},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-417-8},
ISSN = {1868-8969},
year = {2026},
volume = {366},
editor = {Iacono, John},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.FUN.2026.8},
URN = {urn:nbn:de:0030-drops-257273},
doi = {10.4230/LIPIcs.FUN.2026.8},
annote = {Keywords: grabbing games, paths, directed grids}
}