Coder Social home page Coder Social logo

doublek420 / pokereval Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dooglus/pokereval

0.0 3.0 0.0 999 KB

License: Other

Makefile 2.14% Java 24.55% M4 0.43% C# 4.67% Shell 0.87% C 64.55% C++ 1.86% HTML 0.20% Batchfile 0.61% NSIS 0.11%

pokereval's Introduction

$Id$

Introduction
============

poker-eval is a C library to evaluate poker hands. The result of the
evalution for a given hand is a number. The general idea is that if
the evalution of your hand is lower than the evaluation of the hand of
your opponent, you lose. Many poker variants are supported (draw,
holdem, omaha, etc.) and more can be added.  poker-eval is designed
for speed so that it can be used within poker simulation software
using either exhaustive exploration or Monte Carlo.

The poker-eval library is Free Software and is released under the
terms of the GNU General Public License. See the COPYING file in the
root directory of the distribution.

Compiling -- GNU/Linux and Unix systems
=========================
This library uses the GNU Autoconf self-configuration mechanism, so
compiling on a GNU/Linux and Unix system should be fairly simple.  

To build both the C library and the examples:
  autoreconf --install
  ./configure
  make 

To build and run the tests:

  AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 autoreconf --install
  ./configure
  make check

The "make check" command will run several test programs to ensure that
everything works correctly.  On slow machines, the tests may take
several minutes.

To install the library and the headers (by default they will
install in /usr/local/lib and /usr/local/include/poker-eval 
respectively):

   ./configure
   make install

To run the examples:

   cd examples
   read the usage at the beginning of the source file
   and run the program accordingly

Compiling -- Windows, using cygwin 
==================================
If you have the cygwin package installed, you can build the library as
per the directions above for GNU/Linux and Unix systems.

Compiling -- DOS / Windows (May be obsolete, please send updates
to [email protected])
================================================================
The library can also be compiled using Microsoft Visual C++.  In each
directory, special DOS makefiles are provided, called makefile.dos.
To compile the library, make sure that the VC tools are on the path
and that the LIB variable is properly set (VC provides a batch file,
vcvars32.bat, to set this up), and enter the following commands:
  cd lib
  nmake -f makefile.dos
  cd ..\examples
  nmake -f makefile.dos
  cd ..\tests
  nmake -f makefile.dos

You can't use make to run the test programs under Windows as you can
on Unix, but you can run them (digtest5 and digtest7, in the tests
directory) and compare the output value with the value in the make
file (makefile.dos in the tests directory) to ensure that the right
thing happened.  

Once the library is built, you can use the resulting library
(libpoker.lib) in other Visual C++ projects.  Make sure to put the
include directory of the pokersource library package in the include
path for projects that will be using the library.  

Download
========
The library may be obtained from the pokersource project at
http://gna.org/projects/pokersource/


Reporting bugs, suggesting improvements
=======================================
As of August 2005, the poker-eval library is maintained by
Loic Dachary.  Bug reports, suggestions for improvements, or candidates
for inclusion should be sent to
     Loic Dachary <[email protected]>
     Tim Showalter <[email protected]> 
     Michael Maurer <[email protected]>

You can also check out the pokersource user group at
http://groups.yahoo.com/group/pokersource or the mailing list
at https://mail.gna.org/listinfo/pokersource-users/

pokereval's People

Contributors

bkuhn avatar ruxkor avatar tuco86 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.