This question already has an answer here:

Where or how (and if, of course) is it possible to see the game theory model behind Stack Exchange, the one responsible for user motivation and improvement? How was it built? Is it frequently tested and updated?

marked as duplicate by Peter Mortensen, Sonic the Anonymous Hedgehog, Robert Longson, Ward, PolyGeo Sep 17 '18 at 5:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.