Giter Site home page Giter Site logo

lucas-c / blades-in-the-dark-what-kind-of-gang-are-you Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lanceroe/h5p-selfhost-example

0.0 1.0 0.0 12.79 MB

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/

License: MIT License

JavaScript 87.40% CSS 12.05% HTML 0.55%
blades-in-the-dark h5p personality-quiz ttrpg role-playing-game role-playing-game-tool tabletop-rpgs

blades-in-the-dark-what-kind-of-gang-are-you's Introduction

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.