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

Should Action.FOLD always been 0 in NL holdem? #183

Closed
aetheryang opened this issue Nov 18, 2020 · 4 comments
Closed

Should Action.FOLD always been 0 in NL holdem? #183

aetheryang opened this issue Nov 18, 2020 · 4 comments
Assignees

Comments

@aetheryang
Copy link
Contributor

aetheryang commented Nov 18, 2020

As log say:

Player 1 chooses Action.ALL_IN
=============== Community Card ===============
============= Player 0 - Hand =============
=============== Chips ===============
In Pot: 134
Remaining: [66, 0]
=========== Actions You Can Choose ===========
0: Action.CALL, 1: Action.FOLD

BUT when some one just raise or call:

Player 1 chooses Action.RAISE_HALF_POT
=============== Community Card ===============
============= Player 0 - Hand =============
=============== Chips ===============
In Pot: 24
Remaining: [90, 86]
=========== Actions You Can Choose ===========
0: Action.FOLD, 1: Action.CALL, 2: Action.RAISE_HALF_POT, 3: Action.RAISE_POT, 4: Action.ALL_IN

ruzhwei added a commit that referenced this issue Nov 24, 2020
ruzhwei added a commit that referenced this issue Nov 24, 2020
This reverts commit 34c3859.
ruzhwei added a commit that referenced this issue Nov 24, 2020
@aetheryang
Copy link
Contributor Author

补充说明:具体情况是这样的,我在 NL 德州的 human 2人桌下玩了几把,发现当一方 all in 时,另一方可操作的选项只有 FOLD 和 CALL,但 CALL 对应了0, FOLD 对应了1. 而普通的下注加注时 FOLD 是 0,CALL 是 1.

@daochenzha
Copy link
Member

@aetheryang The id here is just an ID to make the selection easier. It does not correspond to the action in the environment.

daochenzha pushed a commit that referenced this issue Jun 15, 2021
Former-commit-id: 34c3859
daochenzha pushed a commit that referenced this issue Jun 15, 2021
This reverts commit c885214 [formerly 34c3859].


Former-commit-id: bc799d1
daochenzha pushed a commit that referenced this issue Jun 15, 2021
Former-commit-id: 6f1ad3d
@alexx-ftw
Copy link

Should this be closed?

@daochenzha
Copy link
Member

@alexx-ftw Yes I will close it. Thanks!

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

4 participants