Poker-AI.org Poker AI and Botting Discussion Forum 2014-03-18T21:46:45+00:00 http://poker-ai.org/phpbb/feed.php?f=22&t=2657 2014-03-18T21:46:45+00:00 2014-03-18T21:46:45+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5856#p5856 <![CDATA[Re: http based php server for poker bots]]> They are not a company that's releasing consumer products. They don't really care about usability much I think.

Statistics: Posted by Coffee4tw — Tue Mar 18, 2014 9:46 pm


]]>
2014-02-15T00:07:21+00:00 2014-02-15T00:07:21+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5724#p5724 <![CDATA[Re: http based php server for poker bots]]>
don't know why the acpc server is written in c and only for linux with such an antiquated format. use JSON !!!

Statistics: Posted by Code-Monkey — Sat Feb 15, 2014 12:07 am


]]>
2013-12-07T23:33:09+00:00 2013-12-07T23:33:09+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5458#p5458 <![CDATA[Re: http based php server for poker bots]]> https://www.heroku.com/ for java hosting (really basic is free). it'd be fine for hosting but not suitable for generating strategies.

Statistics: Posted by fraction — Sat Dec 07, 2013 11:33 pm


]]>
2013-12-07T12:20:33+00:00 2013-12-07T12:20:33+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5457#p5457 <![CDATA[Re: http based php server for poker bots]]> http://aws.amazon.com/free/
- bitnami packages up tomcat (and java) on top of amazon free http://bitnami.com/stack/tomcat
- there are probably better deals if you look

Statistics: Posted by spears — Sat Dec 07, 2013 12:20 pm


]]>
2013-12-06T15:01:22+00:00 2013-12-06T15:01:22+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5455#p5455 <![CDATA[Re: http based php server for poker bots]]> spears wrote:

or just buy some java hosting service

ashamed. :oops: Did not know that such can be.

Statistics: Posted by nefton — Fri Dec 06, 2013 3:01 pm


]]>
2013-12-06T14:50:11+00:00 2013-12-06T14:50:11+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5454#p5454 <![CDATA[Re: http based php server for poker bots]]> Statistics: Posted by spears — Fri Dec 06, 2013 2:50 pm


]]>
2013-12-06T14:42:42+00:00 2013-12-06T14:42:42+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5453#p5453 <![CDATA[Re: http based php server for poker bots]]> bob101 wrote:

nearly. but it is not php. Flaw of this option that i had rise poker serwer. So I need take computer, deal with my provider to get external static IP, turn on computer and rise poker bor server on it. Then (if I want anybody to connect) I need leave my computer turned on for a long time (years). So my apartment turn to the datacentr with many computers. (I need computer to).
But why should I do this? I can just write poker serwer on php, buy hosting (20$/year!) and that all.

Statistics: Posted by nefton — Fri Dec 06, 2013 2:42 pm


]]>
2013-12-06T12:06:37+00:00 2013-12-06T12:06:37+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5449#p5449 <![CDATA[Re: http based php server for poker bots]]>
http://www.cubeia.org/index.php/poker
http://www.cubeia.org/wiki/index.php?ti ... rebaseBots

bob

Statistics: Posted by bob101 — Fri Dec 06, 2013 12:06 pm


]]>
2013-12-06T07:48:08+00:00 2013-12-06T07:48:08+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5443#p5443 <![CDATA[Re: http based php server for poker bots]]> nefton wrote:

I had read ACPC protocol. It`s wery pure on my mind. Cases:
1. server can not conect to client on http.
2. grammar of request is hard to process with php page. (variables must transmit like http post request)
3. Client MUST know what in server happen. For example the are a fsm on the server with curent state.
this state based on other player moves and rules. If I wish to write java application to operate human with the server I need write the same fsm in java :shock: It wil twice my work. Why not to transmit available moves throw protocol?



Hi Nefton,

The ACPC is just the poker server engine... You can easily mod it to send stats to a DB... On your PHP page, use these stats to display graphs (RRD or pchart : http://www.pchart.net/), player stats, game stats,... what ever....

And by the way, you can launch some processes via PHP... So easilly create a server with defined parameters via a web page, launch your bot and enjoy the fight :D

that's the way I will go as soon as I have finished my FLHU-NE bot...

The icing on the cake is that external bot can join your server to compete....

Regards

MrNice

Statistics: Posted by MrNice — Fri Dec 06, 2013 7:48 am


]]>
2013-12-05T11:07:37+00:00 2013-12-05T11:07:37+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5427#p5427 <![CDATA[Re: http based php server for poker bots]]>
Although I say "without exposing their strategy" I can imagine that some people won't want just anyone to play 100 million hands against their bot. If that's the case then they'd need authentication/authorisation policies or some kind of limiter.

Statistics: Posted by fraction — Thu Dec 05, 2013 11:07 am


]]>
2013-12-05T09:55:56+00:00 2013-12-05T09:55:56+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5425#p5425 <![CDATA[Re: http based php server for poker bots]]> Quote:

Perhaps I'm not explaining this well, or misunderstanding the requirements.

I'm talking of a system whereby each bot is a server. A client application co-ordinates the two (or more) decision making servers. Think of it as the dealer. It posts the current game state to the server and the server replies with an action. In web terms this is a very common set-up. For example, a web page contains enough logic to interact with one or more servers and a user interface that allows someone to control that interaction.

Given the way in which strategies are constructed - linking gamestates to actions - it's simple for each server/bot to return the action their strategy dictates at a given gamestate/infoset. So the webpage holds the current gamestate and when it's a given bots turn to act it asks them for an action for that gamestate.

Again, maybe I'm not being clear or I've misunderstood what is required. But if I was going to design a system for multiple, disparate bots that had private logic to interact via a common, publicly available interface, that's what I'd build. (disclaimer - I design restful systems for a living)

[it could be that you mean every client has to figure out the list of possible interactions with the server, but thats' the good thing about this approach, there's only one. Each server has to do the following: translate a gamestate (in hold-em this is: board, action history, holecards, pot, possibly seating if more than HU) into an action. That's it.]


I get the feeling you are trying tell me something that might be quite interesting and useful. I don't understand what that is, and unfortunately I don't have the time to delve into it atm. Sorry.

Statistics: Posted by spears — Thu Dec 05, 2013 9:55 am


]]>
2013-12-04T23:03:50+00:00 2013-12-04T23:03:50+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5422#p5422 <![CDATA[Re: http based php server for poker bots]]>
1) A service that allows people to register bots for a game. When the game is full (or other criteria such as a human saying 'go') the game starts - much like humans using pokerstars but registering bots instead of themselves as players.

2) A service that allows people to pick bots to play each other and initiate games between them. - this is what I initally thought was required.

Statistics: Posted by fraction — Wed Dec 04, 2013 11:03 pm


]]>
2013-12-04T22:54:45+00:00 2013-12-04T22:54:45+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5421#p5421 <![CDATA[Re: http based php server for poker bots]]> nefton wrote:

fraction wrote:
not sure how you expect to do this without a server.

Just one server. Example:

9 peoples with 7 bots want to play poker (tourney)
Do you think all of them need to rise there oun server? = 9 servers?
I think no. It must be one php server. And 9 clients. 2 from them are just html pages with java.

How setup 9 servers? 8 peoples will setup there servers and should wait (may be 1 month) when there 9th friend setup own?

And if there are 1 php server anybody can setup own client as long as he want at any time. And at the other end of the wire nobody should wait him.


I'm confused. How will these 9 people and seven bots interact? Will the server ask each client in turn to act? How?

It could be done this way round, sure, but it would be more work to build a client to work with that server than to build a server to work with the client I propose.

"I think no. It must be one php server. And 9 clients. 2 from them are just html pages with java" makes no sense, sorry.

Statistics: Posted by fraction — Wed Dec 04, 2013 10:54 pm


]]>
2013-12-04T23:04:32+00:00 2013-12-04T22:53:44+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5420#p5420 <![CDATA[Re: http based php server for poker bots]]> spears wrote:

Nefton's question is this: Why does the server not provide the client with a list of available actions?

If it doesn't, then every client has to figure this out for himself. That's horrible.


Perhaps I'm not explaining this well, or misunderstanding the requirements.

I'm talking of a system whereby each bot is a server. A client application co-ordinates the two (or more) decision making servers. Think of it as the dealer. It posts the current game state to the server and the server replies with an action. In web terms this is a very common set-up. For example, a web page contains enough logic to interact with one or more servers and a user interface that allows someone to control that interaction.

Given the way in which strategies are constructed - linking gamestates to actions - it's simple for each server/bot to return the action their strategy dictates at a given gamestate/infoset. So the webpage holds the current gamestate and when it's a given bots turn to act it asks them for an action for that gamestate.

Again, maybe I'm not being clear or I've misunderstood what is required. But if I was going to design a system for multiple, disparate bots that had private logic to interact via a common, publicly available interface, that's what I'd build. (disclaimer - I design restful systems for a living)

[it could be that you mean every client has to figure out the list of possible interactions with the server, but thats' the good thing about this approach, there's only one. Each server has to do the following: translate a gamestate (in hold-em this is: board, action history, holecards, pot, possibly seating if more than HU) into an action. That's it.]

Statistics: Posted by fraction — Wed Dec 04, 2013 10:53 pm


]]>
2013-12-04T18:31:17+00:00 2013-12-04T18:31:17+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5418#p5418 <![CDATA[Re: http based php server for poker bots]]> fraction wrote:

not sure how you expect to do this without a server.

Just one server. Example:

9 peoples with 7 bots want to play poker (tourney)
Do you think all of them need to rise there oun server? = 9 servers?
I think no. It must be one php server. And 9 clients. 2 from them are just html pages with java.

How setup 9 servers? 8 peoples will setup there servers and should wait (may be 1 month) when there 9th friend setup own?

And if there are 1 php server anybody can setup own client as long as he want at any time. And at the other end of the wire nobody should wait him.

Statistics: Posted by nefton — Wed Dec 04, 2013 6:31 pm


]]>
2013-12-04T18:02:44+00:00 2013-12-04T18:02:44+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5415#p5415 <![CDATA[Re: http based php server for poker bots]]>
If it doesn't, then every client has to figure this out for himself. That's horrible.

Statistics: Posted by spears — Wed Dec 04, 2013 6:02 pm


]]>
2013-12-04T17:48:30+00:00 2013-12-04T17:48:30+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5414#p5414 <![CDATA[Re: http based php server for poker bots]]> nefton wrote:

fraction wrote:
you can model each bot as a restful server

Then other bots need external IP to configure its as a server. (why? )
And in general this decentral system is hard to install and support


Yes, each bot (or group of bots in the same installation) will require a web server, etc.

I thought you wanted to play remote bots vs each other. Is that not the case?

Regarding support, it's easy. You publish a specification for the rest (which is VERY simple) and anyone who wants to join in implements it (again, VERY simple in something like PHP, Java, Python or C#)

Quote:

I think http based protocol and php servers is the best solution for this problem.
welcome to discuss this option.


not sure how you expect to do this without a server. I think we're misunderstanding each other.

Statistics: Posted by fraction — Wed Dec 04, 2013 5:48 pm


]]>
2013-12-04T15:59:50+00:00 2013-12-04T15:59:50+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5413#p5413 <![CDATA[Re: http based php server for poker bots]]> fraction wrote:

you can model each bot as a restful server

Then other bots need external IP to configure its as a server. (why? )
And in general this decentral system is hard to install and support

Statistics: Posted by nefton — Wed Dec 04, 2013 3:59 pm


]]>
2013-12-04T15:38:15+00:00 2013-12-04T15:38:15+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5412#p5412 <![CDATA[Re: http based php server for poker bots]]>
It'd also be really easy to set up so humans could play vs the bots via a webpage too.

Statistics: Posted by fraction — Wed Dec 04, 2013 3:38 pm


]]>
2013-12-04T15:39:35+00:00 2013-12-04T15:35:59+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5411#p5411 <![CDATA[Re: http based php server for poker bots]]> 1. server can not conect to client on http.
2. grammar of request is hard to process with php page. (variables must transmit like http post request)
3. Client MUST know what in server happen. For example the are a fsm on the server with curent state.
this state based on other player moves and rules. If I wish to write java application to operate human with the server I need write the same fsm in java :shock: It wil twice my work. Why not to transmit available moves throw protocol?

Statistics: Posted by nefton — Wed Dec 04, 2013 3:35 pm


]]>
2013-12-04T14:37:23+00:00 2013-12-04T14:37:23+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5410#p5410 <![CDATA[Re: http based php server for poker bots]]>

I have the same idea.... But for start I will use the I will use the server code of ACPC (http://www.computerpokercompetition.org/):

http://www.computerpokercompetition.org ... 34.tar.bz2

regards,

MrNice

Statistics: Posted by MrNice — Wed Dec 04, 2013 2:37 pm


]]>
2013-12-04T14:20:30+00:00 2013-12-04T14:20:30+00:00 http://poker-ai.org/phpbb/viewtopic.php?t=2657&p=5409#p5409 <![CDATA[http based php server for poker bots]]> What I need.
-Possibiliti to play several my bots together with each other.
-Possibiliti to play several my bots with me.
-Possibiliti to play several my bots with other people at antipodian side of the Eath.
-Possibiliti to play several my bots together with other bots.
-demonstrative graphs and data.
-....

I think http based protocol and php servers is the best solution for this problem.
welcome to discuss this option.

Statistics: Posted by nefton — Wed Dec 04, 2013 2:20 pm


]]>