On Tue, 2010-03-02 at 23:41 -0600, Elmer Fittery wrote:
> I m trying to track down where the code is failing when I specify more
> than one empty pocket, so I am looking at the
> poker-eval-webservice/static code.  
> 
> In the program pokerevalwidget.js I am trying to determine how 3 empty
> pockets which are represented by ["__" "__"], ["__" "__], ["__" "__"]
> are stringify 'ed and what the result is.
> 
> I think the result is:  "__, __\n__ __\n__ __\n"
> 
> winhi is filled in by this.winhi
> losehi is filled in by this.winlo
> ...
> ...
> ev is filled in by this.ev/1000.0
> 
> what is being called to calculate the values placed in the
> "this" object.
> 
> I know when I press the button with the text "calculate odds", a
> callback is executed to fill in the "this" object/structure.
> 
> I don't understand how the call back is attached to the button
> for calculating the odds.
> 
> If I knew what was being called, I could trace what is happening
> as the callback function is being executed.
> 
> Could you give me a few hints?
> 

The data come back from pokerevalwebservice.py, which is a wsgi app
called via HTTP/GET.

Note that it is using pypokereval, and may have the same issue that you
face with pypokereval test.py.

PS: please Cc: [email protected]

-- 
Johan Euphrosine <[email protected]>
Development and services around Free Software
http://www.aminche.com/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to