Generate prompts for the narration at the start of a "The Resistance: Avalon" game.
Written in TypeScript.
npm install avalon-prompts
Get an array of strings for the narration. characters
is an object with the following structure:
interface Characters {
percival?: boolean;
mordred?: boolean;
oberon?: boolean;
morgana?: boolean;
}
Set the value to true
to include that character in the game.
getPrompts({ percival: true, oberon: true })
// returns the narration for a game containing Percival and Oberon
Licensed under the MIT License.