Murphy.VampireDice
1.0.0.8488-beta5
See the version list below for details.
dotnet add package Murphy.VampireDice --version 1.0.0.8488-beta5
NuGet\Install-Package Murphy.VampireDice -Version 1.0.0.8488-beta5
<PackageReference Include="Murphy.VampireDice" Version="1.0.0.8488-beta5" />
paket add Murphy.VampireDice --version 1.0.0.8488-beta5
#r "nuget: Murphy.VampireDice, 1.0.0.8488-beta5"
// Install Murphy.VampireDice as a Cake Addin #addin nuget:?package=Murphy.VampireDice&version=1.0.0.8488-beta5&prerelease // Install Murphy.VampireDice as a Cake Tool #tool nuget:?package=Murphy.VampireDice&version=1.0.0.8488-beta5&prerelease
README
VampireDice is a small utility library that helps with the simulation and statistical evaluation of dice pools occurring in the Vampire v5 role playing game.
In addition to the core library, a command line interface and a Telegram bot expose the functionality for interactive use.
Installation
You can install the VampireDice library via NuGet or use the VampireDice Bot interactively.
To build VampireDice from source you will need an F# 7.0 compiler (or newer) and a .NET development environment. The .sln
and .fsproj
files in the source directories should be understood by .NET SDK command line tools, or IDEs such as VSCode, VisualStudio, or Rider.
Usage
Here's a brief example for using the VampireDice library:
#r "nuget: Murphy.VampireDice, 1.0.0.*"
open System
open Murphy.VampireDice
let random = Random()
let pool = { Count = 5; Hunger = 2 }
let qualifier, result = Pool.simulate random pool
printfn $"simulate -> %d{result} (%O{qualifier})"
let result = Pool.estimate random pool
printfn $"estimate -> %.1f{result.Expected}, P[result >= 2] = %.0f{100.0 * result.SuccessAtLeast(2)}%%"
Similar results can be obtained from the bot using the commands:
/hunger 2
/roll 5
/estimate 5, difficulty 2
Or from the command line using the calls:
v5d roll 5 --hunger 2
v5d estimate 5 --hunger 2 --difficulty 2
License
VampireDice is licensed under the Apache License, Version 2.0. Refer to the NOTICE for licenses of third-party dependencies.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 7.0.200)
- HtmlAgilityPack (>= 1.11.46)
- Newtonsoft.Json (>= 13.0.2)
- SixLabors.ImageSharp (>= 2.1.3)
- SixLabors.ImageSharp.Drawing (>= 1.0.0-beta15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.52525 | 210 | 1/2/2024 |
1.0.0.15637-beta9 | 120 | 4/18/2023 |
1.0.0.14832-beta8 | 122 | 4/13/2023 |
1.0.0.11760-beta7 | 126 | 3/22/2023 |
1.0.0.10088-beta6 | 127 | 3/11/2023 |
1.0.0.8488-beta5 | 126 | 2/27/2023 |
1.0.0.7724-beta4 | 130 | 2/22/2023 |
1.0.0.7426-beta3 | 132 | 2/20/2023 |
1.0.0.6757-beta2 | 128 | 2/15/2023 |
1.0.0.6597-beta1 | 125 | 2/14/2023 |