Skip to content
@dice-roller

Dice Roller

Your game, your rules, your roll

Dice Roller

Dice Roller

Your game, your rules, your roll.

Dice Roller is a collection of open-source JavaScript and TypeScript tools for rolling dice in tabletop role-playing games.

At its heart is RPG Dice Roller, a flexible and powerful dice rolling engine that supports everything from simple dice rolls to complex expressions, modifiers, and custom game mechanics.

Whether you're building a virtual tabletop, a character sheet, a game companion, or something entirely different, Dice Roller provides the tools to bring dice rolling into your application.

What can it do?

  • 🎲 Flexible dice notation — Roll standard, percentile, Fudge, and custom dice.
  • ⚙️ Powerful modifiers — Exploding dice, rerolls, keep/drop, success counting, and more.
  • 🧮 Complex expressions — Combine dice rolls with mathematical expressions and functions.
  • 🧩 Extensible — Customise dice behaviour, modifiers, random number generation, and result presentation.
  • 🌐 Framework integrations — Use the core library directly or integrate it with Vue, Markdown, and documentation frameworks.

🚀 Getting started

Start off by checking out the installation instructions, dice notation, API references, and examples in the documentation.

📦 Our projects

Dice Roller is more than just a dice rolling library. The organisation maintains a collection of tools and integrations built around the core engine.

Project Description
🎲 RPG Dice Roller The core JavaScript dice rolling engine.
🖥️ CLI Roll dice directly from your terminal.
🟢 Vue Components Ready-to-use Vue components and composables for building dice rolling interfaces.
📝 Markdown-it Plugin Add dice rolling functionality to Markdown documents.
📘 VuePress Plugin Integrate interactive dice rolling into VuePress sites.
📗 VitePress Plugin Add dice rolling functionality to VitePress documentation.
📚 Documentation The documentation website, notation reference, and guides.

❤️ Contributing

Dice Roller is open source, and contributions are always welcome!

Whether you've found a bug, have an idea for a new feature, want to improve the documentation, or would like to contribute code, we'd love to hear from you.

📜 Licence

Our projects are released under the MIT licence, allowing them to be used freely in personal and commercial projects.

Popular repositories Loading

  1. rpg-dice-roller rpg-dice-roller Public

    An advanced JS based dice roller that can roll various types of dice and modifiers, along with mathematical equations.

    JavaScript 286 69

  2. cli cli Public

    Command Line Interface for the dice roller

    JavaScript 10

  3. vue vue Public

    RPG Dice Roller component for Vue.js

    TypeScript 8 1

  4. vuepress-plugin vuepress-plugin Public

    Plugin for VuePress that allows rolling dice

    CSS 2

  5. documentation documentation Public

    Documentation for the RPG dice roller

    1 5

  6. markdown-it-dice-roller markdown-it-dice-roller Public

    A plugin for markdown-it to allow rolling of dice in Markdown documents

    JavaScript

Repositories

Showing 9 of 9 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…

⌂ 换网址