The statement of the result
Let q = (q1, q2… *qp) be a state of the game of Cram and {qi, 1 ≤ ip} be its connected components. Then q is a game equivalent to the Marienbad matchstick game nim( q*1 ) \oplus\oplus nim( *qp * ), where p represents the number of rows of matches and nim(*qi *) the number of matches on each of these rows.
In particular, q is losing if and only if nim( q1 ) \oplus\oplus nim( *qp * ) = 0.
The proof by strong induction on the maximum number of remaining moves.
(i) If there is no remaining move, q is losing, and nim(q) = mex(∅) = 0