YahtzeeMaster

使用 C++ 的 Yahtzee 模拟器,带有一些强化学习功能。 「Yahtzee simulator using C++ with some reinforcement learning」

  • 所有者: utilForever/YahtzeeMaster
  • 平台: Linux, Mac, Windows, Docker
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

YahtzeeMaster是使用C++和一些强化学习的Yahtzee模拟器。代码建立在C++17之上,可以用常用的编译器,如g++、clang++或Microsoft Visual Studio编译。YahtzeeMaster目前支持macOS(10.14或更高版本)、Ubuntu(18.04或更高版本)、Windows(Visual Studio 2017或更高版本),以及Windows Subsystem for Linux(WSL)。其他未经测试的支持C++17的平台也应该能够构建YahtzeeMaster。

主要特点

  • 基于C+17的Yahtzee游戏库
  • 控制台和GUI模拟器程序
  • C++和Python API

快速启动

你将需要CMake来构建代码。如果你使用的是Windows,除了CMake,你还需要Visual Studio 2017。

主要指标

概览
名称与所有者utilForever/YahtzeeMaster
主编程语言C++
编程语言 (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2020-08-03 03:12:22
推送于2021-02-22 05:13:22
最后一次提交2021-02-22 14:13:22
发布数0
用户参与
星数12
关注者数4
派生数1
提交数209
已启用问题?
问题数11
打开的问题数4
拉请求数7
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

YahtzeeMaster

License Build Status Build status Build Status

codecov
Codacy Badge
Total alerts
Language grade: C/C++
CodeFactor

Quality Gate Status Lines of Code Maintainability Rating Reliability Rating Security Rating

YahtzeeMaster is Yahtzee simulator using C++ with some reinforcement learning. The code is built on C++17 and can be compiled with commonly available compilers such as g++, clang++, or Microsoft Visual Studio. YahtzeeMaster currently supports macOS (10.14 or later), Ubuntu (18.04 or later), Windows (Visual Studio 2017 or later), and Windows Subsystem for Linux (WSL). Other untested platforms that support C++17 also should be able to build YahtzeeMaster.

Key Features

  • C++17 based Yahtzee game library
  • Console and GUI simulator program
  • C++ and Python API

Quick Start

You will need CMake to build the code. If you're using Windows, you need Visual Studio 2017 in addition to CMake.

First, clone the code:

git clone https://github.com/utilForever/YahtzeeMaster.git --recursive
cd YahtzeeMaster

C++ API

For macOS or Linux or Windows Subsystem for Linux (WSL):

mkdir build
cd build
cmake ..
make

For Windows:

mkdir build
cd build
cmake .. -G"Visual Studio 15 2017 Win64"
MSBuild YahtzeeMaster.sln /p:Configuration=Release

Docker

docker pull utilforever/yahtzeemaster:latest

Documentation

TBA

How To Contribute

Contributions are always welcome, either reporting issues/bugs or forking the repository and then issuing pull requests when you have completed some additional coding that you feel will be beneficial to the main project. If you are interested in contributing in a more dedicated capacity, then please contact me.

Contact

You can contact me via e-mail (utilForever at gmail.com). I am always happy to answer questions or help with any issues you might have, and please be sure to share any additional work or your creations with me, I love seeing what other people are making.

License

The class is licensed under the MIT License:

Copyright © 2020 Chris Ohk.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.