rakuja / bybe Goto Github PK
View Code? Open in Web Editor NEWPathfinder 2e - Encounter Builder BACKEND
Home Page: https://bybe.fly.dev/
License: MIT License
Pathfinder 2e - Encounter Builder BACKEND
Home Page: https://bybe.fly.dev/
License: MIT License
Many users requested to generate creature based on a locale and, if possible, have some kind of relationships between creatures (ex vampire and vampire spawn). The latter one is not a necessity, as "family" and "traits" could already be enough
Redis was used for four main reasons:
This will improve latency (local db), remove ugly sanitation code when converting from json array to array of strings.
To allow implementation of TheAsel/BYBE-frontend#4 we should return the list of sources
Right now, traits and creature_types filter allow for a vector of values.
We should mirror that behavior on all the filters
Caching like it was implemented before is now useless and also a problem. The Database restructure makes the fly instance go OOM and the Database is now local, meaning that caching has limited effect on performances
When randomly generating an encounter, if the generated enemy is level 2 we could fetch an enemy of level 2 or instead an elite level 1 enemy or weak level 3 enemy. This would increase exponentially the permutations and avoid a lot of empty results
Implement Proficiency without Level, a new table used to compare level difference and exp received
Adding a creature's role (brute, magical striker, etc.) could be useful. The classification would have to be made by hand or somehow inferred by the creature's stats/DCs. More info at the link below, in the "Base Road Maps" section.
The encounter builder should offer more filters options: Type of fighter (melee/ranged) (caster/not caster)
When applying a filter with min = 1, max = 1
and a party of 5 adventurers with level 4, the encounter builder fails to generate a valid encounter.
This is a strange behaviour, because with a party of 4 and level 4, it generates correctly.
The encounter info struct should be clearer on xp award/xp budget
https://2e.aonprd.com/Rules.aspx?ID=575
Add the Cache-Control HTTP header
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
BYBE/src/db/db_communicator.rs
Line 54 in 6a6a050
This is a SQL injection waiting to happen, right now there is no risk thanks to the type system and controlled flow, but in the future it may become a problem
To implement TheAsel/BYBE-frontend#9 we need to allow the frontend to filter by min number of creatures and max number of creatures
Rules with xp budget: https://2e.aonprd.com/Rules.aspx?ID=668
List of hazars: https://2e.aonprd.com/Hazards.aspx
For PF2e specifically, I'd love for an encounter builder to provide the opportunity to mix in hazards
Right now, the "fey" "undead" etc filters cannot be applied because there is missing information about the traits. Implement traits, both in the encounter generator as filter and as the field of a creaturer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.