iancoleman / perpetual_auction_currency_game

A game to simulate the Perpetual Auction Currency reward algorithm.
1 stars 1 forks source link

Improve 'node' to have some smarts #3

Open iancoleman opened 4 years ago

iancoleman commented 4 years ago

Add some code that allows nodes to update their bids after the new NB arrives.

Maybe this is a good point to allow various node strategies to be picked. eg random (already in use) but maybe also 'converge toward median' is an easy alternative to implement as well.

Maybe also this is a good time to allow clicking on any individual node to view and change details for that node such as their current bid value or their bidding strategy?

happybeing commented 4 years ago

Great to see this game.

Some things that spring to mind related to node strategies for later, but maybe worth noting now in case it influences design:

Quite a rabbit hole and possibly far more than will be useful or feasible, but maybe there are some nuggets in there?

iancoleman commented 4 years ago

Yes there's a lot of room for improvement, thanks for the extra ideas!

One of the early things I want to do is have maybe a 'record' feature or a 'replay' feature or something like that so we can start to share interesting (or even boring) scenarios. It'd be great to be able to start learning something from all this beyond just the individual interaction.

Eventually hooking it up to webrtc or a websocket for group play would be the end goal but probably not going to develop this particular version into that... who knows.

iancoleman commented 4 years ago

Still needs UI elements to allow manually viewing and changing node bid calculation function