Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including taboo-data with all npm packages installed. Try it out:

taboo-data lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("taboo-data/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

taboo-data v0.0.6

A data set for Taboo games

Taboo-Data

Current version Downloads License

A data set for Taboo games. Plain JSON files that contain parsable cards that contain the keyword and some buzzwords like on the original Taboo game.

Usage

You can use the data set by downloading it or as an NPM package by running the following command

npm install taboo-data

Parsing

All lists contain entries that are parsable strings that are formatted like this:

  • The key word comes first and ends with the vertical stoke (|).
  • Buzzwords come after the vertical stoke and are delimited by colons (:).
  • Buzzwords can contain any characters except | and :.
  • Some keywords may also have no buzzwords and thus have no |.
Main Word|Buzzword 1:Buzzword, with sp3c!al char$ 2:Buzzword 3

Examples

JavaScript

var card = {};

var split = wordString.split('|');
card.word = split[0];

if (typeof split[1] !== 'undefined') {
    card.buzzwords = split[1].split(':');
} else {
    card.buzzwords = [];
}

Contributing

Found a bug or typo? Have a feature request?

Please open a new issue and explain what's wrong or what needs to be improved.

Words

To contribute words, just add them to the appropriate category with the following scheme:

Main Word|Buzzword 1:Buzzword, with sp3c!al char$ 2:Buzzword 3

Please notice that words cannot contain any of the following characters:

Vertical stoke      |
Double points       :
Quotation marks     "
Backslashes         \

Taboo Data is a project by Kovah | Contributors

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free