Maskmaker | js API for generating non
kandi X-RAY | Maskmaker Summary
kandi X-RAY | Maskmaker Summary
Maskmaker is a JavaScript library. Maskmaker has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
I run a number of tabletop RPGs for a variety of groups, and one of the hardest parts for me is coming up with distinct personalities for non-player characters (NPCs) on the spot. So, I decided to write myself an application that could automatically generate NPCs, at least in the broad strokes, on my behalf. This API has two core pieces of functionality. The first is the ability to generate characters, taking in a number representing the number of characters to generate, and outputting a list of that many JSON objects, each containing a name, a set of personality traits, and a list of attributes (tabletop RPGs usually use statistical attributes to represent things like a character's intelligence or strength) described in relative terms. Optionally, a user may supply a region from which to choose names, a gender for the characters, and a list of custom attribute titles to use (if no attributes are given, the API defaults to the classic Dungeons and Dragons attributes). A separate endpoint also allows users to submit a list of their own pregenerated names, in which case the API will randomly assign names from that list to the generated characters instead of producing names of its own. This ties in to the API's second piece of functionality: name generation. By posting to a /markov endpoint with a list of example names, the API can also produce a Markov Chain trained on that test data set. This Markov Chain is then returned to the user, who can then provide it as an argument in the body to another endpoint, which takes a Markov Chain (it doesn't need to be one generated by the API, as long as it fits the format) and produces a number of names with it, of variable names within a minimum and maximum defined in the body. There are two primary consumers I plan to build for this application. The first is a Discord bot which will consume this API and use it to generate NPCs on the fly for a GM of an online tabletop game. The second application is a consumer which will take the output of this API and convert it into CSV tables which can be used with an application called CardMaker, which can take csvs and turn them into printable card sheets. This is useful for physical play sessions, in which I'd like to have a "deck" of NPCs ready to go, but would prefer to not be shackled to electronics while I play.
I run a number of tabletop RPGs for a variety of groups, and one of the hardest parts for me is coming up with distinct personalities for non-player characters (NPCs) on the spot. So, I decided to write myself an application that could automatically generate NPCs, at least in the broad strokes, on my behalf. This API has two core pieces of functionality. The first is the ability to generate characters, taking in a number representing the number of characters to generate, and outputting a list of that many JSON objects, each containing a name, a set of personality traits, and a list of attributes (tabletop RPGs usually use statistical attributes to represent things like a character's intelligence or strength) described in relative terms. Optionally, a user may supply a region from which to choose names, a gender for the characters, and a list of custom attribute titles to use (if no attributes are given, the API defaults to the classic Dungeons and Dragons attributes). A separate endpoint also allows users to submit a list of their own pregenerated names, in which case the API will randomly assign names from that list to the generated characters instead of producing names of its own. This ties in to the API's second piece of functionality: name generation. By posting to a /markov endpoint with a list of example names, the API can also produce a Markov Chain trained on that test data set. This Markov Chain is then returned to the user, who can then provide it as an argument in the body to another endpoint, which takes a Markov Chain (it doesn't need to be one generated by the API, as long as it fits the format) and produces a number of names with it, of variable names within a minimum and maximum defined in the body. There are two primary consumers I plan to build for this application. The first is a Discord bot which will consume this API and use it to generate NPCs on the fly for a GM of an online tabletop game. The second application is a consumer which will take the output of this API and convert it into CSV tables which can be used with an application called CardMaker, which can take csvs and turn them into printable card sheets. This is useful for physical play sessions, in which I'd like to have a "deck" of NPCs ready to go, but would prefer to not be shackled to electronics while I play.
Support
Quality
Security
License
Reuse
Support
Maskmaker has a low active ecosystem.
It has 2 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
Maskmaker has no issues reported. There are 6 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of Maskmaker is current.
Quality
Maskmaker has no bugs reported.
Security
Maskmaker has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
Maskmaker is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
Maskmaker releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Maskmaker
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Maskmaker
Maskmaker Key Features
No Key Features are available at this moment for Maskmaker.
Maskmaker Examples and Code Snippets
No Code Snippets are available at this moment for Maskmaker.
Community Discussions
No Community Discussions are available at this moment for Maskmaker.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Maskmaker
You can download it from GitHub.
Support
Health endpoint. Returns "Application is up and healthy!". Generate random NPCs using a pool of arbitrary names and traits, and randomly assigned attributes. Generate random NPCs using a pool of names provided by the user, using arbitrary traits and randomly assigned attributes. Take a list of example names and use them to generate a Markov Chain, which can be used to generate new names. A valid Markov Chain (see below). Take a list of example names and use them to generate a Markov Chain, which can be used to generate new names.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page