Git Product home page Git Product logo

kuhn3p's Introduction

kuhn3p

author: Kevin Waugh e-mail: [email protected]

The submission deadline for the 2014 3-player Kuhn poker competition has been extended to July 5th.

To get you started, I've written this python package to accelerate the development of 3-player Kuhn programs. Feel free to copy and use any of the code here to make your own player.

Recall that for this competition, we are asking you to submit code for your player. If you build a program that relies on some ahead of time computation, this does not have to be submitted (though we encourage you to).

The rules for the competition are on the [http://www.computerpokercompetition.org/](Annual Computer Poker Competition) website. In short, you are allowed 10MB of uncompressed disk space and may use up to 1 second per 100 hands. That works out to 30 seconds per match.

Getting started

You can run a 3000 hand match by: python run\_match.py

Initially, it will run a match between always raise, always call, and a bot that bluffs 20% of the time.

To change the bots you would like to run a match with, edit the_players in run_match.py

For an idea about how to create your own player, see kuhn3p/Players/Bluffer.py

What's coming

I plan on writing a few more sophistocated players in the near future. For example, one trained using counterfactual regret minimization, and another that solves for a correlated equilibrium.

At this time, this package does not communicate with the ACPC dealer package. I will be adding the hooks to do this. That is, if you write your bot to conform to the kuhn3p.Player interface, then it will be able to run against bots written to interact with the regular dealer.

I will also be adding code to run a tournament within this package. You will be able to choose the bots you enter, and it will run the matches required to get statistical significance.

kuhn3p's People

Contributors

kdub0 avatar

Watchers

 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.