CYBER CYCLES

What shape a game has, and what search sees of it: from the disc game to Core War.
CYBER CYCLESNoah SyrkisOctober 6, 20261 | Core war is fought on a 1d ring2 | The programs are assembly code3 | mice beats rock beats scissors…4 | We study the 𝛼-disc construction5 | Measuring Core War’s cyclicality1 |Core war is fought on a 1d ring▶Two programs fight on a memory tape▶A memory tape is a 1 dimensional ring▶To see it better we transform to a 2d grid▶Figure 1 animates that transformationFigure 1: Locality preserving Moore loop trans­form of a 1d ring onto a 2d grid2 of 132 |The programs are assembly code▶Code is embedded into the tape it transforms▶Program 1 puts a DAT instruction every 4th cell▶It is only 3 cells wide and thus never hits itselfadd #2004, 1mov 2, 2jmp -2, 0Program 1: The redcode assembly program dwarf authored by A. K. Dewdney3 of 132 |The programs are assembly code▶Code is embedded into the tape it transforms▶Program 1 puts a DAT instruction every 4th cell▶It is only 3 cells wide and thus never hits itselfFigure 2: dwarf playing against DAT, a program that loses on its first move3 of 13What makes a good Core War program?Figure 3: rock (solid) vs scissors, scissors (solid) vs mice, and mice (solid) vs rockRenaming mice to paper we see a classic cycle3 |mice beats rock beats scissors…▶paper (a world champion) loses to someone▶Core war thus has a cyclical component▶But a program can also be plainly bad (DAT)Figure 4: scissors (solid) beating the newly re­named paper (previously mice)6 of 134 |We study the 𝛼-disc construction𝛼-disc [1] is a construct to explore cyclicality. It evaluates two 2d points on the unit circle. A high 𝛼 is a transitive game, while low is cycli­cal. When transitive, highest 𝑦-coordinate wins. When cyclic, the relatively left most point wins.𝜑𝛼(𝒗,𝒘)=𝛼(𝑣1−𝑤1)⏞ratings(1.1)+(1−𝛼)(𝑣1𝑤2−𝑣2𝑤1)⏟cycles(1.2)7 of 134 |We study the 𝛼-disc constructionFigure 5 shows an adversarial evolutionary search algorithm optimize over 𝛼-disc.Figure 5: Finding the optimum for 𝛼=18 of 134 |We study the 𝛼-disc constructionFigure 6: 𝛼∈{1,13,0}. At 𝛼=1 the higher rating wins. At 𝛼=0 every policy has a counter9 of 134 |We study the 𝛼-disc constructionFigure 7: Fourier transform of a tournament between the populations of Figure 6.Vertical lines indicate transitivity, and no lines indicate cyclicality.10 of 135 |Measuring Core War’s cyclicality▶Transitive share (one rating per warrior) 0.64▶Cyclic share (what no rating explains) 0.36▶In Core War, no single program beats all othersFigure 8: Fourier transform of a tournamentbetween 128 human programs11 of 13To learn more about Core War and its cybersecurity implications read A. Kumar et al. [2]References[1]D. Balduzzi et al., “Open-Ended Learning in Symmetric Zero-Sum Games,” in Proceedings of the 36th International Conference on Machine Learning, PMLR, May 2019, pp. 434–443. doi: 10.48550/arxiv.1901.08106.[2]A. Kumar et al., “Digital Red Queen: Adversarial Program Evolution in Core War with LLMs,” in Proceedings of the Genetic and Evolutionary Computation Conference, Centro Inter­nacional de Convenciones CIC-ANDE San Jose Costa Rica: ACM, Jul. 2026, pp. 691–700. doi: 10.1145/3795095.3805116.