goker

command module
v0.0.0-...-48ab5c1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 1 Imported by: 0

README

Goker

Goker is a CLI tool for utilities related to poker.
This tool took heavy inspiration from poker-odds

Usage

Installation

Download Release

Every merge to main branch creates release accessible from GH page

This repo follows semantic versioning. By default it bumps version by minor release. To change this behaviour you can pass these strings in your message

  • #none
  • #patch
  • #minor
  • #major
Build from sources

See build notes

Hand Odds calculation
Texas Hold'em
goker hand-odds --hands KsTh,8d7d --board KdTsTd2d -i 1000 --texas
[KsTh]: 100.0%
[8d7d]: 0.0%
Ties: 0.0%
947 ms
Short-Deck
goker hand-odds --hands KsTh,8d7d --board KdTsTd2d -i 1000 --short-deck
[KsTh]: 3.0%
[8d7d]: 97.0%
Ties: 0.0%
953 ms
Omaha
goker hand-odds --hands KsThAcAd,8d7d5c4c --board KdTd9d2d -i 1000 --omaha
[KsThAcAd]: 10.7%
[8d7d5c4c]: 89.3%
Ties: 0.0%
4737 ms

Roadmap

Technical Stuff:

  • Add Benchmarks for combination calculations

Features:

  • Hand-Odds calculations
    • Texas Hold'em
    • Omaha
    • Short-Deck
  • Event Possibilities
    • Draw a specific combination
      • Texas Hold'em
      • Omaha
      • Short-Deck

Developer Notes

Build
For development purposes
make build

This command produces binary to root project folder and can be locally executed as:

./goker hand-odds --hands KsTh,8d7d --board KdTsTd2d -i 1000 --texas
Multiplatform
make build-multiplatform

Supported Platforms:

  • darwin/amd64
  • darwin/arm64
  • freebsd/amd64
  • freebsd/arm
  • linux/amd64
  • linux/arm
  • linux/arm64
  • windows/amd64

To add new platform please refer to build script

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cmd

Jump to

Keyboard shortcuts

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