Coder Social home page Coder Social logo

camillescott / zardoz Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 504 KB

A discord bot with a focus on Rogue Trader. FEAR IT. Written in pure Python with discord.py.

License: MIT License

Makefile 0.35% Python 17.35% Jupyter Notebook 82.24% Dockerfile 0.07%
python discord-py discord dice-roller rpg-tool

zardoz's Introduction

zardoz

Documentation Status

Another dice bot for discord.

Features

  • Complex roll options provided via python-dice
  • Multiple game types to provide fast default dice rolls (ie, 1d100 represented by r in Rogue Trader mode)
  • Reports degrees of success or failure when in RT mode, or success or failure otherwise, when using comparison operators
  • Stores roll history for server

Examples

For a basic roll, /z 1d100:

Request:
1d100
Rolled out:
{1d100 ⤳ 53}
Result:
[53]

Multiple dice, /z 3d100:

Request:
3d100
Rolled out:
{3d100 ⤳ [27, 83, 73]}
Result:
[27, 83, 73]

Distributed addition and subtraction, /z 3d100 + 10:

Request:
3d100 + 10
Rolled out:
{3d100 ⤳ [47, 30, 19]} + 10
Result:
[57, 40, 29]

Comparisons:

Request:
4d6 <= 4
Rolled out:
{4d6 ⤳ [6, 2, 4, 2]} <= 4
Result:
6 ⤳ failed by 2
2 ⤳ succeeded by 2
4 ⤳ succeeded by 0
2 ⤳ succeeded by 2

DoF/Dos, /z 3d100 <= 50:

Request:
3d100 <= 50
Rolled out:
{3d100 ⤳ [57, 11, 88]} <= 50
Result:
57 ⤳ failure
11 ⤳ 3 DoS
88 ⤳ 3 DoF

Order of operations, /z 3d100 <= 50 + 5:

Request:
3d100 <= 50 + 5
Rolled out:
{3d100 ⤳ [75, 87, 55]} <= 50 + 5
Result:
75 ⤳ 2 DoF
87 ⤳ 3 DoF
55 ⤳ success

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

zardoz's People

Contributors

camillescott avatar camillescottatwork avatar tcohen20 avatar

Stargazers

Pat Link avatar Jerry Powers avatar

Watchers

James Cloos avatar  avatar

Forkers

tcohen20 kpow-jp

zardoz's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.