Comments (2)
There are iterators over the players available: https://texasholdem.readthedocs.io/en/stable/game_information.html#players
You could do something like
next(game.active_iter(loc=game.bb_loc))
For the player after the big blind, and so on.
Those position names may wildly vary by play count, so there's less reason to keep track of them with easy attributes (unlike button, small blind and big blind).
from texasholdem.
Ok, I think it's good for me.
Those position names may wildly vary by play count, so there's less reason to keep track of them with easy attributes (unlike button, small blind and big blind).
Indeed. I will handle that.
Thank you.
from texasholdem.
Related Issues (20)
- Text GUI primitives need to have their own unit tests
- Add change log history section
- Investigate hypothesis library for fuzz testing
- Windows Text GUI Support for python 3.11
- Random Agent does Raise Action when it is not possible HOT 1
- Documentation compilation should have its own status check
- Impossible to play with bots only HOT 5
- ValueError: Betting round is over at this point, can only CALL or FOLD. HOT 2
- Game logic looks flawed in heads-up case HOT 1
- Get the players that are still in a tournament HOT 4
- How to make a copy for simulation HOT 20
- Optimize the copy method in TexasHoldEm class HOT 2
- Errors with pytest HOT 2
- Add variants of poker HOT 3
- texasholdem for RL HOT 1
- Can't leave gui HOT 3
- Raise value equals to None HOT 2
- I want to open an issue with a new feature into it HOT 1
- Gui not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texasholdem.