https://maxwilson.github.io/Arena/
Proof of concept for Shining Sword arena. Rule system-agnostic presentation layer with terrain and animation support.
npm i
npm start
start http://localhost:8080
- dotnet SDK v7.0 or higher
- node.js v18+ LTS
To write and edit your code, you can use either VS Code + Ionide, Emacs with fsharp-mode, Rider or Visual Studio.
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.
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 --> []
}
}
:::