POK is an open-source WhatsApp bot that brings poker games to group chats, automating card dealing, game rules, and tracking the game state for seamless play.
If using docker:
If not using docker:
git clone https://github.com/doper1/POK.git
cd POK
npm install
docker compose up --build
npm start
pok join
. They then need to buy chips using pok buy
or just pok join [chip amount]
right awayIMPORTANT - Each players get $1000 (in-game) when they first join. The ONLY way to earn more is buy playing. If you lost all of your 1000 - you cannot play anymore. The initial $1000 are consists between whatsapp group and are not individual to each group.
Currently, blinds are 1/2 and there is no way to change it. I suggest to buy in between $50 to $150 for each game, until there will be a mechanism to increase blinds
pok help
- Display help information.pok join
- Join the game.pok show
- Show the list of players who have joined.pok exit
- Exit the game.pok start
- Start the poker game.pok check
- Check (pass the action to the next player).pok call
- Call (match the current highest bet).pok raise [amount]
- Raise the bet by a specified amount.pok all (in)
- Raise all inpok fold
- Fold your hand.pok buy [amount]
- buy more chips with your moneypok help
- Display help information.pok join [amount]
- Join the game (if not already joined). You can also buy while joiningpok show
- Show the list of players in the game.pok exit
- Exit the game.pok end
- End the current poker game.Contributions are welcome! Please fork the repository, create a new branch, and submit a pull request.
git checkout -b feature/your-feature
.git commit -m 'Add some feature'
.git push origin feature/your-feature
.Please ensure your commits are clear and are by the Conventional commits standard. Also make sure to write tests using jest and put them in the closet __tests__
directory.
Because of the DB integration all the tests got invalid so I deleted them all. The can still be found in version 3.1.0 and prior. Their directories still exists
This project is licensed under the Apache License.
For issues, questions, or feedback, feel free to open an issue on GitHub