Cubic tic-tac-toe: A matching-based approach
Abstract
In the natural generalization of tic-tac-toe to an n × n × n board where n ∈ N, it is known that the first player has a winning strategy if n ≤ 4 and that either player can force a draw if n ≥ 8. The question of whether the first player has a winning strategy if n = 5, 6 or 7 has remained open. Here, we prove that the first player does not have a winning strategy if n = 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.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.