MaxWilson / Arena

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shining Sword Arena

https://maxwilson.github.io/Arena/

Proof of concept for Shining Sword arena. Rule system-agnostic presentation layer with terrain and animation support.

Quick-start

npm i
npm start
start http://localhost:8080

Requirements

Editor

To write and edit your code, you can use either VS Code + Ionide, Emacs with fsharp-mode, Rider or Visual Studio.

Deployment

To build the application and make ready for production:

npm run build

This command builds the application and puts the generated files into the dist directory (can be overwritten in vite.config.js). This is done automatically on github after checkin.

Attributions

Sword icon created by pongsakornRed - Flaticon. https://www.flaticon.com/free-icons/sword

Sword icons created by Freepik - Flaticon. https://www.flaticon.com/free-icons/sword

Shield icons created by Freepik - Flaticon. https://www.flaticon.com/free-icons/sword

sequenceDiagram
  A-->B: Works!

::: mermaid stateDiagram-v2 state "Shining Sword" as flow { [] --> Autofight [] --> Adventure state Autofight { [] --> Setup SpecificFight: Specific Fight Setup --> SpecificFight: Run specific fight once Setup --> Calibrated: Run N times
to find N
fitting specified
victory % SpecificFight --> [
] Calibrated --> [] } state Adventure { ChooseParty: Choose PCs and allies ChooseOpposition: Choose enemies [] --> ChooseParty ChooseParty --> ChooseOpposition ChooseParty --> ChooseAdventure ChooseOpposition --> SetupEncounter SetupEncounter: Set up positions, behaviors SetupEncounter --> Execute Execute --> AwardTreasure AwardTreasure --> SaveProgress: Keep results AwardTreasure --> []: Discard results SaveProgress --> [] } } :::

About


Languages

Language:F# 98.2%Language:Sass 1.7%Language:HTML 0.1%Language:JavaScript 0.0%Language:Batchfile 0.0%