Open JeremyWildsmith opened 5 years ago
I think we should wait until after refactoring until implementation, but I think the implementation will be pretty simple. I'm just not sure about the algorithm to follow for introducing these mechanics?
FYI this is where the classes under contract came from; and where the _expected field in the Inventory class came from. They currently aren't doing anything right now though.
Yep, I would agree, let's do some refactoring first. Will do some changes today.
Great, sounds good.
Btw feel free to open an issue if you want to discus any refactors I made or explore better alternatives.
Thanks!
I have refactored the code to allow injection of custom offer execution and resolution mechanics. This should allow for contract integration a little later.
I want to find a way to incorporate trade mechanics.
Right now, when two agents make a trade, the goods are immediately transferred between the two of them.
I wonder what changes would be necessary to allow for a little more complex trade mechanics. Ie, introduce the cost of delivering the goods. Some ideas:
A couple problems I see with this:
I am open to input.
Thanks!
Jeremy Wildsmith