Skip to content
Marvin-BrouwerPublic

About

shogun scholar

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Bunbu: Shogun Scholar

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

The game

  • 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 .bunbu file.

It plays in the browser, phone first, and installs as an app that works offline.

Making a quiz

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.json

There are sample quizzes in docs/testdata/.

Working on Bunbu

pnpm install
pnpm dev

Read AGENTS.md before you start: it points to the design docs, the folder layout and the checks to run before pushing.

License

The code is MIT. The 3D models, fonts and sounds and their licenses are listed in ATTRIBUTION.md.

About

shogun scholar

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages