Found a bug you might want to look into:
After 8 steps, I "won" after reaching the following configuration (all on the edges, from top-left clockwise):
16, 584, 26, 6, 18, and 7
That's not numberwang, according to the official definition [1]
[1] D. Mitchell, B. Russell, A. Turing, and R. Webb. Numberwang determination and the Entscheidungsproblem. Principles of Mathematics and Computation, 1944. Cambridge Press 14(2).