MaxWilson / dfrpgDifficulty

Quick and dirty app for computing the rough difficulty of a DFRPG encounter based on toughness x damage output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shining Sword

https://maxwilson.github.io/dfrpgDifficulty

Difficulty calculator for Dungeon Fantasy RPG (Powered By GURPS!) encounters.

Very much in-progress. Recommended usage is to just go to https://maxwilson.github.io/dfrpgDifficulty and use it there.

Building and running the app

  • Install JS dependencies: npm install
  • Move to src folder: cd src
  • Install F# dependencies: dotnet restore
  • Run webpack dev server: yarn start
  • In your browser, open: http://localhost:8080/

yarn webpack (or npm-start) will internally start the Fable daemon and run a script in package.json concurrently.

If you are using VS Code + Ionide, you can also use the key combination: Ctrl+Shift+B (Cmd+Shift+B on macOS) instead of typing the yarn webpack command. This also has the advantage that Fable-specific errors will be highlighted in the editor along with other F# errors.

Any modification you do to the F# code will be reflected in the web page after saving. When you want to output the JS code to disk, run yarn build (or npm build) and you'll get a minified JS bundle in the public folder.

About

Quick and dirty app for computing the rough difficulty of a DFRPG encounter based on toughness x damage output


Languages

Language:F# 98.3%Language:Sass 1.4%Language:HTML 0.2%Language:Batchfile 0.1%Language:JavaScript 0.0%