承接 nepster-web/gambling-tech 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nepster-web/gambling-tech

Composer 安装命令:

composer require nepster-web/gambling-tech

包简介

Gambling Algorithms for Certification.

README 文档

README

Gambling Tech on PHP

Release Build Coverage Downloads License

Introduction

Gambling Tech - is a library that provides certified casino algorithms. (for example: RNG, PFS, Fisher Yates, etc).


iTech Labs

Accredited Laboratory for Online Gaming Certification and Quality Assurance. Testing iTech Labs is one of the leading accredited testing laboratories for online gaming worldwide.

More information

Requirements

You'll need at least PHP 7.4 (it works best with PHP 8).

Installation

The preferred way to install this extension is through composer:

Either run

php composer.phar require --prefer-dist nepster-web/gambling-tech

or add

"nepster-web/gambling-tech": "*"

💻 Basic Usage

Random generation:

use Gambling\Tech\Random;

Random::getBytes(16); // 3ö1\x18&U\x0Fµòð$ä&ã\x05\x06
Random::getInteger(0, 100); // 7
Random::getBoolean(); // false
Random::getFloat(); // 0.57746288525196
Random::getString(16); // 3Q989ujqa3CAZl0c

Shuffling:

use Gambling\Tech\FisherYatesShuffle;

$cards = [0, 1, 2, 3, 4, 5, 6, 7];

$shuffled = (new FisherYatesShuffle())($cards);

$shuffled; // [7, 2, 1, 5, 4, 6, 0, 3]

Read more about other algorithms in the documentation.

Testing

To run the tests locally, in the root directory execute below

./vendor/bin/phpunit

📖 Documentation

See the official guide.

📚 Resources

📰 Changelog

Detailed changes for each release are documented in the CHANGELOG.md.

🔒 License

See the MIT License file for license rights and limitations (MIT).

统计信息

  • 总下载量: 2.04k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固