This work deals with the time evolution of the Hamming distance density for the public goods game. We consider two typical distinct possibilities, which are exactly described by q-exponential functions, suggesting that the system belongs to the class of weakly-chaotic systems.