Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dapplion/game-theory-client-vendor
https://github.com/dapplion/game-theory-client-vendor
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/dapplion/game-theory-client-vendor
- Owner: dapplion
- License: mit
- Created: 2018-06-23T09:58:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T10:29:20.000Z (over 6 years ago)
- Last Synced: 2024-12-28T06:47:59.373Z (10 days ago)
- Language: Python
- Size: 9.29 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# game-theory-client-vendor
This code is a small experiment to test a game theory problem described in this video https://youtu.be/jILgxeNBK_8
The main question to ask is,
> why do competitor bussiness tend to be together in the same geographicall position?### Methods
This code gives n vendors the chance to steal competitor's clients. On each step they attempt a finite number of random moves and only execute the one that results in getting more costumers.
### Two vendors demo
This is the case discussed in the video referenced above. The simulation shows that equilibrium is reached when they are together back to back at the center of the area.
The cited video above explains the concept perfectly. What you saw in the simulation is a Nash equilibrium, where vendors can't improve their positions without deviating from their current strategy
### Four vendors demo
With more vendors things get more interesting. With exactly 4 vendors, they tend to pair and split the area evenly.