poker

package module
v0.0.0-...-713b49f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2015 License: AGPL-3.0 Imports: 0 Imported by: 0

README

Poker

This is a library for creating agents that can play Texas Hold'em and includes an example agent Hob2 who can play randomly or to maximize EV based on seven-card hand strength. Currently, the library implements only the ACPC protocol, but support for more should not be hard to add. There is also code for generating game trees and calculating a Nash Equilibrium, but it is not complete.

Dependencies

The library uses the 2 + 2 hand ranks table to evaluate hands. The table can be generated both in Windows or Linux using Wine. Hob2 expects the table to be in the same directory it is run in.

License

Poker poker library
Copyright (C) 2012 David Campbell <dcampbell24@gmail.com>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cfr implements functions and structures for calculating epsilon Nash equilibrium of an abstracted poker game using counterfactual regret minimization.
Package cfr implements functions and structures for calculating epsilon Nash equilibrium of an abstracted poker game using counterfactual regret minimization.
Package equity implements functions and structures for calculating the equity of poker hands.
Package equity implements functions and structures for calculating the equity of poker hands.
Package game keeps track of basic poker game information.
Package game keeps track of basic poker game information.
diff
Package diff provides the Diff engine for updating a game.
Package diff provides the Diff engine for updating a game.
Package comb provides functions for calculating and interating over combinations.
Package comb provides functions for calculating and interating over combinations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL