Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Horizontally scalable, immutable, and thread-safe poker library written in Ruby.

License

NotificationsYou must be signed in to change notification settings

kanevk/poker-engine

Repository files navigation

Horizontally scalable, immutable, and thread-safe poker library written in Ruby,utilizing theRedux design patternandPersistent data structures.

Example

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

Documentation

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.

Setup

  1. Make sure you have Ruby and bundler installed

  2. Clone the repo

git clone git@github.com:kanevk/poker-engine.git
  1. Install the dependencies
bundle
  1. Run tests
bundleexec rspec -fd

About

Horizontally scalable, immutable, and thread-safe poker library written in Ruby.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp