项目作者: zodiacfireworks

项目描述 :
Simple poker game in pure python
高级语言: Python
项目地址: git://github.com/zodiacfireworks/pyker.git
创建时间: 2020-03-07T14:58:06Z
项目社区:https://github.com/zodiacfireworks/pyker

开源协议:BSD 3-Clause "New" or "Revised" License

下载


Python Versions
PyPI Version
PyPI Downloads

Build Status
codecov
Codacy Badge
Codacy Badge
Requirements Status

Stars
License

Pyker

Simple poker game in pure python

what to do with this library?

For now I just implmented an algorithm for ranking poker hands based on the description given here

http://nsayer.blogspot.com/2007/07/algorithm-for-evaluating-poker-hands.html

Please check samples/Comparsion.ipynb to se how it works

How to install

You can install with pip

  1. pip install pyker

How to test

Requirements

To test you need poetry and pyenv with python 3.7 and python 3.8, then follow the comands

  1. git clone https://github.com/zodiacfireworks/pyker.git
  2. cd pyker
  3. poetry install
  4. poetry run tox

And thats all!