English

Cubic tic-tac-toe: A matching-based approach

Combinatorics 2025-09-29 v1

Abstract

In the natural generalization of tic-tac-toe to an n×n×nn \times n \times n board where nNn \in \mathbb{N}, it is known that the first player has a winning strategy if n4n \leq 4 and that either player can force a draw if n8n \geq 8. The question of whether the first player has a winning strategy if n=5,6n = 5, 6 or 77 has remained open. Here, we prove that the first player does not have a winning strategy if n=7n = 7. The proof, which is computer-assisted, exploits the fact that the second player's first four moves can always be chosen such that their remaining moves can be automated via a simple pairing strategy. The process of finding the pairing strategy involves reframing the problem in such a way that the goal is to seek a maximal matching in a bipartite graph that represents the tic-tac-toe board after each player has made four moves. We use the Hopcroft-Karp matching algorithm to find such maximal matchings.

Keywords

Cite

@article{arxiv.2509.21494,
  title  = {Cubic tic-tac-toe: A matching-based approach},
  author = {John W. Cain and Ioannis M. Raymond and Nora C. Källersjö},
  journal= {arXiv preprint arXiv:2509.21494},
  year   = {2025}
}

Comments

21 pages, 4 figures

R2 v1 2026-07-01T05:56:57.705Z