GithubHelp home page GithubHelp logo

benrayfield / econball Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 71 KB

Size of bouncing balls changes based on serious economic theory in realtime using center of gravity like stock trading

Java 100.00%

econball's Introduction

econball

Size of bouncing balls changes based on serious economic theory in realtime using center of gravity like stock trading

The econ theory is the value of buy and sell are usually equal, at whatever free market price at the time, so if we trade between 2 things, holding the total of those 2 equal eachother, then you can buy without anyone selling, or sell without anyone buying. Just change from one equal valued type to the other, and the total of all the A's and all the B's are scaled instantly to be the same amounts. Those who change to the majority side lose, and those who change to the minority side win, since it is scaled to the average. Its the same math as Matching Pennies and Odds And Evens game which are Rock Paper Scissors with 2 choices instead of 3 (buy vs sell). You see this in the size of balls changing depending where they move. Think of it as a 2d seesaw surface that never tilts because the masses of balls are adjusted to always balance.

This is the early start of a game based on that econ theory. Econ is boring in number and symbol form, but as a realtime game its more like dancing, or so I expect when it becomes multiplayer.

econball's People

Contributors

benrayfield avatar

Watchers

James Cloos 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.