Skip to content

Cube evaluation (round 2) #5

@amlwwalker

Description

@amlwwalker

Hey @foochu
hope you're well - been a while!

I was trying to align your code with the GNUBG code to understand what is required to implement the AI deciding whether to double (cube) and take/drop the cube.

I notice here

https://github.com/foochu/bgweb-api/blob/main/internal/gnubg/gnubg.go#L47

and here

The concept of a _CubeInfo object exists. I think you need to do this to get GNUBG to tell you the best move to make, but i think the missing part is including whether that move is to double is the missing key here. Is that correct?

What are the chances you can help me get a cube decision out of the AI here? It would be the awesome missing piece to this project and if you could, in no order, requirement help me with....

  • understanding whats missing
  • where to look in the original code
  • where this would be added to your code

I can try to then understand whats missing and whether i can tackle this. Any support/help really appreciated! Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions