Evolution of cooperation in the public goods game with Q-learning | Synapse