Learn by the sword. A samurai runs through old Japan, and every ninja ambush is a question from your quiz.
Play Bunbu · Write a quiz · How to play
- Run and answer. The samurai runs on by himself. When ninjas ambush him, a scroll opens with the question and you cut the answers with a swipe. Right slays the ninjas, wrong costs life.
- Pass the test. Five stages, from the rice fields to Edo castle, each opened by passing the one before it. Four difficulties, from Apprentice to Shogun.
- Train in the dojo. Study every question with its answer read out loud, or practise without losing life.
- Bring your own quiz. Quizzes are plain YAML files: write one, load it, and share it with a
friend as a
.bunbufile.
It plays in the browser, phone first, and installs as an app that works offline.
The format, with an example of every question type, is in docs/design/data-format.md. Start your file with the schema line and your editor checks it as you type:
# yaml-language-server: $schema=https://marvin-brouwer.github.io/bunbu/schema/v2.jsonThere are sample quizzes in docs/testdata/.
pnpm install
pnpm devRead AGENTS.md before you start: it points to the design docs, the folder layout and the checks to run before pushing.
The code is MIT. The 3D models, fonts and sounds and their licenses are listed in ATTRIBUTION.md.