Skip to content

Everyone in a room keeps giving dollars to random others. You’ll never guess what happens next.

License

Notifications You must be signed in to change notification settings

wendelb/Eco-Sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EconomicSimulation

There was an article on Hacker News that got my attention: Counterintuitive problem: Everyone in a room keeps giving dollars to random others. You’ll never guess what happens next. This article was submitted a few times to Hacker News 1, 2, 3, 4.

Seeing the simulation, I wouldn't believe it at first, since I didn't expected the shown result. In this repository, I am going to reproduce the experiment, not in R but with JavaScript and the fancy d3 library.

After running the experiment multiple times, it verifies the results in the article.

Installation and Running

  1. Run bower install in the EconomicSimulation directory.
  2. Run a static webserver from the EconomicSimulation directory (e.g. cd EconomicSimulation && python3 -m http.server 8080)

TODO List

  • Remove all VS stuff
  • Remove Bower and add yarn
  • Add Webpack
  • Add CSS to Webpack
  • Minify HTML

License

This repository is licensed under the MIT License

About

Everyone in a room keeps giving dollars to random others. You’ll never guess what happens next.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published