Skip to content

A Ruby interface to the Annual Computer Competition's dealer program

License

Notifications You must be signed in to change notification settings

dmorrill10/acpc_dealer

Repository files navigation

ACPC Dealer

Build Status

The Annual Computer Poker Competition Dealer gem wraps the ACPC Dealer Server in a handy gem with a convenient runner class, and a script for compiling and running the dealer and example players.

Installation

Add this line to your application's Gemfile:

gem 'acpc_dealer'

And then execute:

$ bundle

Or install it yourself as:

$ gem install acpc_dealer

Usage

Run

$ acpc_dealer -h

to see a list of commands available in the command line interface.

See the documentation for information on available classes, modules, and constants.

Logging

For every match, two files will be logged: <match name>.log containing the match results and <match name>.actions.log containing the sequence of messages to and from the dealer over the course of the match. The location of these files can be customized with the :log_directoryoption. By default, they will be populated in a <match name>.logs subdirectory of the current working directory.

Contributing

See the issue tracker for currently known issues, or to log new ones.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please include tests with your changes, otherwise I may not be able to find the time to incorporate them into this project.

Copyright

Copyright © 2012-2017 by the Computer Poker Research Group, University of Alberta. See LICENSE for details.

About

A Ruby interface to the Annual Computer Competition's dealer program

Resources

License

Stars

Watchers

Forks

Packages

No packages published