You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Victor Roest 845e798599
updated AUR module
2 years ago
AUR@f40319b116 updated AUR module 2 years ago
.gitignore Extended .gitignore 4 years ago
.gitlab-ci.yml Removed unnecessary junk 4 years ago
.gitmodules Readded AUR 4 years ago
LICENSE Update LICENSE 3 years ago
README.rst Added some more documentation 3 years ago
roll Allow rolling of 0 sided dice 2 years ago
setup.cfg Release 1.8 4 years ago
setup.py Allow rolling of 0 sided dice 2 years ago

README.rst

Dice-Roller
===========

A python dice rolling application using standard `dice
notation <https://en.wikipedia.org/wiki/Dice_notation>`__

Usage
-----

::

roll <dice code>


Example:

.. figure:: https://i.imgur.com/KKlSb49.png
:alt: example

Instead of a dice code you can also put "stats" or "dir" for a stats roll or direction roll respectively.

Installation
------------

Pip install
~~~~~~~~~~~

**System-wide install** *(sudo)*

.. code:: sh

pip install dice-roller

**User install** *(no sudo)*

.. code:: sh

pip install --user dice-roller

# Add local 'pip' to PATH:
# (In your .bashrc, .zshrc etc)
export PATH="${PATH}:${HOME}/.local/bin/"

Manual/Git install
~~~~~~~~~~~~~~~~~~

.. code:: sh

git clone https://git.xirion.net/victor/dice-roller/
cd dice-roller
pip3 install --user .

# Add local 'pip' to PATH:
# (In your .bashrc, .zshrc etc)
export PATH="${PATH}:${HOME}/.local/bin/"

OS/Distro Packages
~~~~~~~~~~~~~~~~~~

Arch Linux
^^^^^^^^^^

``dice-roller`` is available on the AUR as ``dice-roller-git``.