cenix / rpg-dice
Roll dice for various RPG systems.
0.3.0
2023-04-10 13:25 UTC
Requires
- php: ^8.1
- symfony/form: ^6.2
Requires (Dev)
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
README
Roll dice and parse results for RPGs and other dice based games.
Currently supports the following games:
- Genesys narrative RPG system by FFG/Edge Studio.
- Star Wars narrative RPG system by FFG/Edge Studio.
- X-wing tactical miniatures game.
- Any system using regular polyhedral dice (D4, D6, D8, D10, D12, D20, D100)
Requirements
"php": "^8.1",
"symfony/form": "^6.2"
For more information, see the composer.json
file.
Installation
Via Composer (https://packagist.org/packages/cenix/rpg-dice):
composer install cenix/rpg-dice
Via Bitbucket:
git clone git@bitbucket.org:Cenix/rpg-dice.git
Install Assets
Webpack Encore
in webpack.config.js add the following:
...
Encore
...
.copyFiles([
...
{from: './vendor/cenix/rpg-dice/assets', to: 'dice/[path][name].[ext]'}
])
Tests
License & Disclaimer
See LICENSE
file. Basically: Use this library at your own risk.
Contributing
I prefer that you create a ticket and or a pull request at https://bitbucket.org/Cenix/rpg-dice/, and have a discussion about a feature or bug here.
Credits
Authors
- Christian Nikolajsen (cenix)
E-mail: christian@cenix.dk
Homepage: https://bitbucket.org/Cenix/