Giter Site home page Giter Site logo

wealth-distribution-rock-paper-scissors's Introduction

wealth-distribution-rock-paper-scissors

Wealth distribution scenarios based on rock-paper-scissors game.

TODO: Explain what this is about, how to use it and add screencasts. Explore the implications.

Running

Prepare the Python virtual environment:

python -m venv venv
. venv/bin/activate
pip install -r requirements.txt

Run the application:

python wealth-distribution-rock-paper-scissors.py

You can tweak the configuration in wealth-distribution-rock-paper-scissors.py before running the application:

class CONF:
    initial_wealth = 5  # should be >= 1; smaller numbers give more dramatic results
    debt_treshold = 0  # should be <= 0; or None for unlimited debt
    gini_revolution_treshold = 0.7  # should be > 0 and < 1; None for no revolution

References

  1. Ugo Bardi. The Seneca Effect: Why Growth is Slow but Collapse is Rapid
  2. Mark Sponsler. What is a storm?
  3. Buck Shlegeris. Gini coefficient calculator
  4. Walter Scheidel. The Great Leveler: Violence and the History of Inequality from the Stone Age to the Twenty-First Century
  5. Robert MacCulloch. Income Inequality and the Taste for Revolution
  6. Kohler, T., Smith, M., Bogaard, A. et al. Greater post-Neolithic wealth disparities in Eurasia than in North America and Mesoamerica (and a summarizing article)
  7. Max Roser and Esteban Ortiz-Ospina. Income Inequality
  8. Lane Kenworthy and Timothy Smeeding. Growing inequalities and their impacts in the United States
  9. Google search for Gini index

wealth-distribution-rock-paper-scissors's People

Contributors

mrts avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.