• Stars
    star
    1,757
  • Rank 26,493 (Top 0.6 %)
  • Language
    C++
  • License
    GNU Affero Genera...
  • Created almost 5 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚀 A very efficient Texas Holdem GTO solver ♠️♥️♣️♦️

CPP Texas Solver

release license Open In Colab Gitter chat

README English | 中文

Introduction

A open sourced, extremely efficient Texas Hold'em and short deck solver. See this Introduction video for more. Supports Windows,MacOs and Linux.

Features:

  • In a tree with 1~2bets + allin, it's speed exceeds piosolver on flop
  • Support Mac, Linux and Windows
  • Support texas holdem and shortdeck
  • Support cross language calls
  • Result aliged with piosolver
  • Support dump strategy to json file
  • It's the c++ version of TexasHoldemSolverJava with a ton of optimization, it's 5x faster than the java version and takes less than 1/3 memory.

Feel free to mess with a toy solver in google colab

Install

Download package according to your OS in release package, unzip it, and install is done. It's that simple.

GUI version Usage

After install the solver, double click the application binary (TexasSolverGui.exe in windows or TexasSolverGui.app in MacOS) to run TexasSolver.

Console version Usage

Please check console version document for more.

Speed benchmark with piosolver

Piosolver and my TexasSolver(console version) run use the same settings (spr=10,flop game) and their result are aligned.

Input config log thread number memory usage accuracy converge time
piosolver 1.0 config_piosolver log_piosolver 6 492Mb 0.29% 242s
TexasSolver 0.1.0 (Our solver) config_texassolver log_texassolver 6 1600Mb 0.275% 172s

The compare image of their results is here. As you can see their result are very close.

License

GNU AGPL v3

Email

[email protected]

Q & As

  1. Q: Is the solver really free?

    • A: Yes, for personal users, the solver is completely opensourced and free.
  2. Q: Can I upload it to other websites or forums? Can I share it with my friend?

    • A: No, you can only put the link of this project to other website, not the binary, this project is under AGPL-V3 license, and these kind of action violates this license.
  3. Q: Can I intergate it to my software?

    • A: If you intergate the release package(binary) into your software, Yes, you can do that. If you want to intergate the code of the solver into your software or provide service through internet, then you need to contact me for a commercial license, which is also the main profit-making method of this project.
  4. Q: What framework do you use to write the ui?

    • A: I use QT 5.1.0 (opensourced edition) to build the GUI version. For the console version, I use Mingw + CMake.

More Repositories

1

ChineseAiDungeonChatGPT

中文版的ai地牢,直接使用的openai的ChatGPT api作为讲故事的模型。
Python
1,391
star
2

TexasHoldemSolverJava

A Java implemented Texas holdem and short deck Solver
Java
808
star
3

icyChessZero

中国象棋alpha zero程序
Jupyter Notebook
376
star
4

ChineseAiDungeon

中文版ai地牢,基于清源CPM fineutne
Python
236
star
5

elephantfish

elephantfish: 一个只有124行的中国象棋引擎
Python
233
star
6

FastLoRAChat

Instruct-tune LLaMA on consumer hardware with shareGPT data
Jupyter Notebook
121
star
7

XQPy

象棋巫师(非官方)python实现
JavaScript
68
star
8

AlphaNLHoldem

An unoffical implementation of AlphaHoldem. 1v1 nl-holdem AI.
Jupyter Notebook
65
star
9

ByrBbsMirror

北邮人论坛镜像源代码
Python
39
star
10

icyface_offline

offline part of icyface
Jupyter Notebook
30
star
11

icytranslate_offline

The offline part of icytranslate(a english-chinese translate platform) ,the output of this project should be a translate model
Jupyter Notebook
19
star
12

icyElephant

a chinese chess engine using conv neural network with zero look-ahead
Jupyter Notebook
19
star
13

gym_chinese_chess

中国象棋gym环境
Jupyter Notebook
12
star
14

AiDungeonChatGPT

AI-Dungeon like Game, directly uses openai's ChatGPT api as a storytelling model.
Python
11
star
15

icyface_api

rest api of icyface
Python
8
star
16

ChineseChessMuzero

使用Muzero算法进行中国象棋对弈
Jupyter Notebook
8
star
17

icytranslate_api

restful api of icytranslate (an opensource english - chinese translate platform)
Jupyter Notebook
7
star
18

icycloud

An docker based IAAS platform
JavaScript
6
star
19

mandarin_recognition

chinese mainland madarin speech recognition neural networks
Jupyter Notebook
5
star
20

icygo

a cnn based go engine
Jupyter Notebook
5
star
21

icyface_website

JavaScript
5
star
22

FastChat

FastChat clone
Python
4
star
23

shisanshui_ai

十三水AI,使用Deterministic CFR解决十三水问题
C++
4
star
24

dark-lora

dark version of a chat LLM
Jupyter Notebook
4
star
25

deuces

A python3 port of https://github.com/worldveil/deuces , a pure python poker hand evaluator
Python
4
star
26

icytranslate_website

the website of icytranslate, a english-chinese translate system
CSS
3
star
27

texas_holdem

德州扑克 通用solver构建中进行的一些实验
Jupyter Notebook
2
star
28

rainfall_prediction

Jupyter Notebook
2
star
29

texassolver_page

webpage of texas solver
HTML
2
star
30

simple_ocr

Jupyter Notebook
2
star
31

Object-detection

Using tensorflow to build a series of object detection networks, and discuss each network's performance
Jupyter Notebook
2
star
32

en2ch_translate

a demo that translates english to chinese
Jupyter Notebook
1
star
33

Lesson1_simple_face

face recognition using hisgram,HOG,LBP,CNN, etc, a brief code history of facial recognition
Jupyter Notebook
1
star