dice

A library for dice-based operations.

https://github.com/moderocky/dice

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A library for dice-based operations.

Basic Info
  • Host: GitHub
  • Owner: Moderocky
  • License: mit
  • Language: Java
  • Default Branch: master
  • Size: 24.4 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Citation

README.md

Dice

Opus #27

A library for dice-based operations.

Features

Dice

An X-sided die rolled Y times, in the format XdY. Alternatively, Y X-sided dice each rolled once.

Generates a score between X and X*Y (inclusively).

Examples: 1d20, 1d6, 2d8.

Bonus

A fixed numerical bonus on dice rolls, to be used in an aggregated score.

Examples: 1, -3, 5.

Score

An aggregate of several dice with additional bonuses.

This can be simplified into its lowest common representation (e.g. 1d11+1 = 2d6.)

Examples: 1d6+5, 2d8+1d4-5.

Advantage

Any rolled object can be converted to an 'advantage' version. When rolled, this will roll twice and return the higher of the two values.

Disadvantage

Any rolled object can be converted to an 'disadvantage' version. When rolled, this will roll twice and return the lower of the two values.

Owner

  • Name: Moderocky
  • Login: Moderocky
  • Kind: user
  • Location: United Kingdom
  • Company: @SkriptLang

Specialist in metaprogramming tools, compilers and interpreters. Lead @ ByteSkript Lead @ SkriptLang

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Scott"
  given-names: "Mackenzie"
title: "Dice"
version: 1.0.0
date-released: 2023-08-28
url: "https://github.com/Moderocky/Dice"

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 16
  • Total Committers: 1
  • Avg Commits per committer: 16.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Moderocky a****n@m****m 16
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

pom.xml maven
  • org.jetbrains:annotations 22.0.0 provided
  • junit:junit 4.13.2 test