- Notifications
You must be signed in to change notification settings - Fork2
Horizontally scalable, immutable, and thread-safe poker library written in Ruby.
License
NotificationsYou must be signed in to change notification settings
kanevk/poker-engine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Horizontally scalable, immutable, and thread-safe poker library written in Ruby,utilizing theRedux design patternandPersistent data structures.
There is a simple console interface that you can run./examples/simple-gameplay.rb
and play against yourself!
Valid moves:
- check
- fold
- call
- raise [bet amount], example:raise 100
You can think about thePokerEngine::Game
like for a state machine. You can initiate it with.start
and you can transition from one state in another with.next
.
For more info check you can check theconsole example or theintegration spec.
Make sure you have Ruby and bundler installed
Clone the repo
git clone git@github.com:kanevk/poker-engine.git
- Install the dependencies
bundle
- Run tests
bundleexec rspec -fd
About
Horizontally scalable, immutable, and thread-safe poker library written in Ruby.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published