Lucas-C / blades-in-the-dark-what-kind-of-gang-are-you

A H5P Personality Quiz for Blades in the Dark

Home Page:https://lucas-c.github.io/blades-in-the-dark-what-kind-of-gang-are-you/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://lucas-c.github.io/blades-in-the-dark-what-kind-of-gang-are-you/

This is a H5P personality quiz for Blades in the Dark TTRPG players, that aims to:

  • guide players to define some aspects of their gang, with closed-ended questions
  • invite players to do some world-building, with open-ended questions
  • provide some visuals to build up some shared imaginary

It's based on https://github.com/tunapanda/h5p-standalone/tree/1.3.x for self-hosting the H5P content.

The H5P template used to build the quiz: https://h5p.org/personality-quiz

Contributions are welcome to:

  • add translations: in new workspace/bitd-gang-personality-quiz/content/content-$lang.json files
  • add new Blades in the Dark quizzes: you can copy workspace/bitd-gang-personality-quiz/ into another directory and then edit content-$lang.json directly, or else edit the .h5p file using a H5P editor like Lumi

The .h5p file

A version from January 2024 is available there: bitd-gang-personality-quiz.h5p.

It can be rebuilt from the sources by running those commands:

cd workspace/bitd-gang-personality-quiz/
zip -r ../../bitd-gang-personality-quiz.h5p .

Run It (Gulp)

Prerequisites

yarn (https://yarnpkg.com/lang/en/) is used as package management tool. Install yarn before proceeding.

To install dependencies:

yarn install

Unzip .h5p file into workspace directory

yarn start

Run It (Other)

Unzip .h5p file into workspace directory

Run a simple http server e.g. python -m SimpleHttpServer

head to http://localhost:8080/

About

A H5P Personality Quiz for Blades in the Dark

https://lucas-c.github.io/blades-in-the-dark-what-kind-of-gang-are-you/

License:MIT License


Languages

Language:JavaScript 87.4%Language:CSS 12.0%Language:HTML 0.6%