I think that self-awareness is more than a matter of (classical) computation. The immediacy of subjective experience implies an entanglement of states, as when one observes one's own self. The marbles would have to be coherent in a cardboard XOR gate for that to happen.