MachinePoker icon indicating copy to clipboard operation
MachinePoker copied to clipboard

Adding bots/players to a table from a source string or object

Open jbilcke opened this issue 12 years ago • 2 comments

Hi,

It would be nice if we could create new bots using just a string containing the src, or an object containing {name,play}!

this way one could easily have a "bot factory" function or a "database", without having to use the filesystem

this could be done, for instance, by extending addPlayer to support bot objects, so we can init our own, like:

myBot = new Bot(botOpts)
myBot.setup(mySourceCode) 
# OR
myBot.setup(name: "foo", play: myFunction)
table.addPlayer(myBot)

This would be useful for training bots

jbilcke avatar Nov 27 '12 10:11 jbilcke

Yep makes sense, let me take a look at this tonight.

mdp avatar Nov 29 '12 19:11 mdp

You can buy a guest blog post at https://prposting.com/publishers/guest-post-gambling. There you will find so many sellers selling the guest blog posts. Through a buyer request to get a proposal for your desired guest post type at prposting. Then you will get many sellers to buy guest blog posts.

Kershi23 avatar Jan 05 '21 08:01 Kershi23