GithubHelp home page GithubHelp logo

poker_odds's Introduction

德州扑克胜率计算服务

只支持linux环境运行    

前置条件

  1. 安装protobuf3
  2. 安装grpc
  3. 安装boost库 sudo apt-get install libboost-all-dev cmake subversion
  4. 下载pokerstove

编译准备

  1. 修改Makefile,将CPPFLAGS的pokerstove头文件路径更改为自己下载文件所在的目录

编译

make 

数据格式

message Request{
    uint32 game = 1;//游戏编号
    map<int32, string> pokers = 2;//key为0,1,2,3 ,其中0为board牌,无board牌填"", 1,2,3...为玩家手牌
}


message Reply{
    uint32 game = 1;
    map<int32, double> winpots  = 2; 每个玩家胜利次数分配
    map<int32, int32> wintype  = 3; 每种牌型胜利次数分配
}

poker_odds's People

Contributors

idamiaoo 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.