Giter Site home page Giter Site logo

williamhope2020 / graphical-representation-game-theory-simulation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 55 KB

This is a simulation of basic game theory principles in Python

Python 100.00%
antitrust-economics gametheory graphical-visualization python simulation strategy marketsimulation algorithms economics microeconomic-theory

graphical-representation-game-theory-simulation's Introduction

Game-Theory-Simulation

This is a simulation of basic game theory principles from an economics perspective in Python. Future ideas will attempt to include more features in accordance to realistic game theory mechanics.

This simulation is a graphical representation to aid those who want to understand game theory. In this simulation, players interact with each other as they move around the chart in a semi-random manner. As these players interact, they automatically play "games" where they compete, either cooperating, defecting, or sabotage. Currently I am trying to fix the chart placement.

Currently, this new version has features such as adding new players (competitors), removing players where size = 0 (bankruptcy), antitrust scrutiny policy (when a player's size is too big), and when a player is twice the size of another player, it consumes that player's size. Other features are stock market crashes (set at 3%), recessions and depressions (put at 1%), which are currently treated as rare macroeconomic events, in which players are independent of these events occurring. If you are curious about the implications of this simulation, it is meant to be a realistic representation to how game theory is in every day life.

I would also like to acknowledge that I did, in fact, use ChatGPT 3.5 to help troubleshoot coding errors and improve efficiencies in production.

This idea is not created by ChatGPT, it is my own idea and interest to create a game theory simulation in Python.

graphical-representation-game-theory-simulation's People

Contributors

williamhope2020 avatar

Stargazers

 avatar

Watchers

 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.