Giter Site home page Giter Site logo

poker-evolver's Introduction

Plays a set of poker-playing bots against each other in arbitrarily many tournaments. After a set of tournaments, measures the fitness, deleting the least fit and "breeds" the most fit (with random noise added in to parameters).

As of 8/24/2018, the bots so far:

RandoPlayer: Always randomly chooses an action. It's... not a very good poker player, even by the standards of this sorry assortment of bots. CowardPlayer: Always folds. Will consistently lose to Fish and Hothead. FishPlayer: Always checks or calls. Surprisingly good against the other terrible bots. HotheadPlayer: Always raises by the minimum amount. This bot seems to be the optimal strategy in a lot of games with the other terrible bots. RankedHandPlayer: Always raises if the rank of its cards is above a certain value, or else checks if the rank is above another value. Does not consider cards on the table or the actions of other bots. EvolvingRankedHandPlayer: Same as RankedHandPlayer, but it has the ability to breed new versions of itself with similar (but not identical) raise / check values. EvolvingRankAndTablePlayer: Same as EvolvingRankedHandPlayer, but it also considers cards on the table. It will do a rudimentary calculation of the strength of its hand post-flop, and if the probability of it winning is above a certain constant then it will raise or check if above another constant.

The idea is that running even extremely rudimentary bots like this through lots of poker tournaments will bring us to some interesting conclusions and maybe find some nice Nash Equilibria. And it has, but not the ones I was expecting. It seems that one Nash Equilibrium is for a player to simply play all hands, never folding pre-flop. Given enough time, the evolving bots will eventually converge to become Fish, never folding but also never raising.

poker-evolver's People

Contributors

dovinmu avatar

Watchers

 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.