Analysis of "Democracy 3" game in Python