PHPackages                             masakuuuu/dicegame - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. masakuuuu/dicegame

ActiveLibrary

masakuuuu/dicegame
==================

play dicegame

1.0.0(3y ago)141[1 PRs](https://github.com/masakuuuu/dicegame/pulls)MITPHPPHP &gt;=8.1

Since Sep 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/masakuuuu/dicegame)[ Packagist](https://packagist.org/packages/masakuuuu/dicegame)[ RSS](/packages/masakuuuu-dicegame/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

dicegame
========

[](#dicegame)

日本語
---

[](#日本語)

6面体のサイコロをPHPのプログラムで実装

- 実装内容
    - 6つ面を持っている
    - １から６までの数字を１つずつ持っている
    - サイコロを振ることでサイコロが持ついずれかの数字を得る

English
-------

[](#english)

Implementing 6-sided dice in a PHP program

- Implementation details
    - Has six faces
    - Has one number from 1 to 6
    - Roll the dice to get one of the numbers the dice have

Use
---

[](#use)

```
$dice = new Dice();
$dice->setSided();
$dice->roll();
$dice->getSide();

```

PHPUnit 実行
----------

[](#phpunit-実行)

```
vendor/phpunit/phpunit/phpunit test/DiceTest.php

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1329d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2adddfa3007afbed0bf0e159503d2a4ff518387144e2fb0df828af2c0096d7ea?d=identicon)[masakuuuu](/maintainers/masakuuuu)

---

Top Contributors

[![masakuuuu](https://avatars.githubusercontent.com/u/29417213?v=4)](https://github.com/masakuuuu "masakuuuu (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/masakuuuu-dicegame/health.svg)

```
[![Health](https://phpackages.com/badges/masakuuuu-dicegame/health.svg)](https://phpackages.com/packages/masakuuuu-dicegame)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
