Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling #2

Open
amlwwalker opened this issue Oct 17, 2024 · 2 comments
Open

compiling #2

amlwwalker opened this issue Oct 17, 2024 · 2 comments

Comments

@amlwwalker
Copy link

Hi
thanks for sharing this - unfortunately the public link isn't working anymore but I wondered whether I could ask you a couple of things - I don't know if you remember working on this at all as it looks like it was a while ago!

  1. Using emscripten and your bash script pointed at the original vanilla GNUBG without the files that you have removed, removed, do you have any reason believe that it would not be able to turn GNUBG into a wasm application? The reason I ask is sadly with operating systems moving on so much getting GNUBG for say Apple OSX working is a real night mare, but you seem to be very close here to getting that and I would love to have it all up and running again like the good old days!

  2. Did you dig in to the GNUBG code much? I am looking for someone who can read the C code and help me understand a couple of things specifically about where/how the code handles making doubling decisions and where it calculates the equity from a position before the dice have been rolled, i.e to look at a position and work out pip counts and who's winning etc.

Really appreciate any support.
Thanks

@hwatheod
Copy link
Owner

The public link is working now. There may have been a temporary outage.

@hwatheod
Copy link
Owner

For your other questions -

  1. When you say "wasm application", are you thinking of running GNUBG as a stand-alone application outside of a browser? I didn't really look into this. One issue is all the code and libraries used for creating the GUI. As far as I can tell, they would have to be built from source in emscripten. Most of the files I removed are GUI related, since in the web version, it is replaced by Javascript.

  2. No, I didn't dig into the details of the C source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants