Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 1.97 KB

README.md

File metadata and controls

60 lines (37 loc) · 1.97 KB

ACPC Dealer

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

Then run (may need to restart your terminal first):

$ acpc_dealer --compile

to compile the ACPC Dealer and example players.

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

Copyright

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