A python dice rolling application using standard dice notation
roll <dice code>
Example:
Instead of a dice code you can also put "stats" or "dir" for a stats roll or direction roll respectively.
System-wide install (sudo)
pip install dice-roller
User install (no sudo)
pip install --user dice-roller
# Add local 'pip' to PATH:
# (In your .bashrc, .zshrc etc)
export PATH="${PATH}:${HOME}/.local/bin/"
The docker image has been pushed to docker hub, and you can get it by running:
docker run metasikander/dice-roller <dice code/stats/dir>
If you prefer to build the image yourself, enter the Docker-folder and run:
docker build --tag=dice-roller .
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/"
dice-roller
is available on the AUR as dice-roller-git
.
Enter the RPM/packages-folder and run one of these commands.
On distros with yum:
yum localinstall Dice-Roller-1.9-1.noarch.rpm
On distros with dnf:
dnf localinstall Dice-Roller-1.9-1.noarch.rpm
Use rpm instead:
rpm -i Dice-Roller-1.9-1.noarch.rpm