Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Updated README and repository metadata |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
227672f20a87f5819d9b630c03ff815e |
User & Date: | murphy 2020-05-08 18:49:38.879 |
Context
2020-05-08
| ||
18:55 | Replaced PackageLicenseUrl by PackageLicenseExpression check-in: de85f1826d user: murphy tags: trunk | |
18:49 | Updated README and repository metadata check-in: 227672f20a user: murphy tags: trunk | |
00:37 | Added spell slot management check-in: f75d632b0b user: murphy tags: trunk | |
Changes
Changes to DragonDice/DragonDice.fsproj.
︙ | ︙ | |||
59 60 61 62 63 64 65 | </ItemGroup> <PropertyGroup> <Description>D&D simulation utilities</Description> <Authors>Murphy</Authors> <Copyright>Copyright ⓒ 2019-2020 Thomas C. Chust</Copyright> <PackageTags>f#;fsharp;d&d;dungeons;dragons;rpg;role;playing;game;simulation;statistics</PackageTags> | | | | 59 60 61 62 63 64 65 66 67 68 69 70 71 | </ItemGroup> <PropertyGroup> <Description>D&D simulation utilities</Description> <Authors>Murphy</Authors> <Copyright>Copyright ⓒ 2019-2020 Thomas C. Chust</Copyright> <PackageTags>f#;fsharp;d&d;dungeons;dragons;rpg;role;playing;game;simulation;statistics</PackageTags> <PackageProjectUrl>https://chust.org/repos/dragondice</PackageProjectUrl> <PackageLicenseUrl>https://chust.org/repos/dragondice/doc/tip/LICENSE.txt</PackageLicenseUrl> <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> </PropertyGroup> </Project> |
Changes to README.md.
1 2 3 4 5 6 | # README # *DragonDice* is a small utility library that helps with the simulation and statistical evaluation of actions in the [Dungeons & Dragons](https://dnd.wizards.com/) roleplaying game, specifically using the 5th edition of the rules as described in the [Systems Reference Document](https://dnd.wizards.com/articles/features/systems-reference-document-srd). ### Installation ### | > > | | < | < > > > > > > > > > > > > > > > > | > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | # README # *DragonDice* is a small utility library that helps with the simulation and statistical evaluation of actions in the [Dungeons & Dragons](https://dnd.wizards.com/) roleplaying game, specifically using the 5th edition of the rules as described in the [Systems Reference Document](https://dnd.wizards.com/articles/features/systems-reference-document-srd). In addition to the core library, a [Telegram](https://telegram.org/) bot exposes the functionality for interactive use. ### Installation ### You can install the *DragonDice* library via [NuGet](https://www.nuget.org/packages/Murphy.DragonDice/) or use the [DragonDice Bot](https://telegram.me/dragon_dice_bot) interactively. To build *DragonDice* from [source](https://chust.org/repos/dragondice) you will need an F# 4.5 compiler (or newer) and a .NET development environment. The `.sln` and `.fsproj` files in the source directories should be understood by [.NET Core](https://dotnet.microsoft.com/) command line tools, [MSBuild](https://github.com/Microsoft/msbuild) or IDEs such as [VSCode](https://code.visualstudio.com/), [VisualStudio](https://www.visualstudio.com/), or [Rider](https://www.jetbrains.com/rider/). ### Usage ### Here's a brief example for using the *DragonDice* library: ```.fsharp #r "Murphy.DragonDice" open System open Murphy.DragonDice open Murphy.DragonDice.UnitSystem let chr = Character(Name = "Joe Sixpack", Race = "Human") chr.Abilities <- EnumMap [ Ability.Dexterity, 17 Ability.Constitution, 12 Ability.Intelligence, 20 Ability.Charisma, 16 ] chr.Proficiencies <- chr.Proficiencies.With [ Skill.Acrobatics, 1 Skill.SleightOfHand, 1 Skill.Arcana, 1 Skill.Perception, 1 ] chr.AddLevel(Profession.Fighter) chr.AddLevel(Profession.Sorcerer, count = 4) let chk = chr.GetCheck(Ability.Dexterity, Difficulty.Easy) Check.estimate chk |> printfn "estimate -> %A" let rng = Random() Check.simulate rng chk |> printfn "simulate -> %A" ``` ### License ### Copyright ⓒ 2019-2020 by Thomas C. Chust. Licensed under the [Apache License, Version 2.0](LICENSE.txt) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |