4 ms·
Nice one, I like the coloring, it'd be nice if it was dynamic or things could live on it, maybe next step? I have a few random for fun projects lying around: m
by Aperocky 4y ago
Nice one, I like the coloring, it'd be nice if it was dynamic or things could live on it, maybe next step? I have a few random for fun projects lying around:
map gen and hydrology project hydrosim:
http://aperocky.com/hydrosim/ http://aperocky.com/hydrosim/
pet map gen and having "people" living on it:
http://prehistoric.tech/ http://prehistoric.tech/
- diggernet 4y agoHydrosim reminds me of the map generation phase of Wilderness. https://archive.org/details/msdos_Wilderness_-_A_Survival_Adventure_1986 https://archive.org/details/msdos_Wilderness_-_A_Survival_Ad...
- Folcon 4y agoThis is really cool =)... Do you mind if I dig into the code and figure out how it works? I'm really finding the market that you've got going interesting, how in-depth is it? I've got a thing[0] I've been prototyping which does a market simulation that I'm working on and I'd be curious how far you've gone down that rabbit hole? =)... - [0]: https://folcon.itch.io/fruit-economy https://folcon.itch.io/fruit-economy
- Aperocky 4y agoSupply/Demand was pretty simple on the individual level, just had to aggregate it: https://github.com/Aperocky/prehistoric-simulation/tree/master/src/sim/market https://github.com/Aperocky/prehistoric-simulation/tree/mast...
- Folcon 4y agoSure, but how that translates to a price is an interesting question.
- Aperocky 4y agoThe simple model consist of buy and sell orders, buys come with a max price, sell comes with a min price, both come with quantities. Just have to meet in the middle by dynamically accumulating orders by quantity from both sides and after the prices met, set that as the actual sell price and discard the rest of the order as not filled.
- Folcon 4y agoHmm, ok, really similar to how an order book does it I think? Pretty different from my approach, so that's worth trying, thanks!