Skip to content

sugargoat/journeybard

Repository files navigation

journeybard

The goal of this project is to provide an interface for journeyers to present stories, and earn their place among the members of the Journey Bards. Journeyers are encouraged to find muses in the room that may inspire them to take a journey out into the party and collect an adventure. For more lore, see Lore, below.

There are 3 phases:

  1. Set Up
  2. Party Initiatialize
  3. Maintenance/Updates

Set Up

(All of the set up phase has already been done for the raspberry pi)

  1. You will need the following materials:

    • raspberry pii
    • RFID reader
    • female-to-female jumper cables
    • soldering kit for RFID reader
    • RFID tags (13.56 MHz)
    • "Muse" items
  2. Solder RFID connectors and use female-female jumper cables to connect the RFID reader to the raspberry pi, using the schematic here: Raspberry Pi RFID

  3. Set up environment on the raspberry pi for RFID python libraries (also outlined here: Raspberry Pi RFID)

  4. Install packages for playing audio and text-to-speech

    apt-get install mpg123 gTTs
  1. Force audio output to headphone jack and connect speakers.
    amixer cset numid=3 1
    raspi-config

Select: Advanced Options > Audio > Force Headphone Jack

Party Initialize

To get ready for the party, you will need to:

  1. Make sure the pi has internet (only necessary to download background music or pull down changes to the repo, not necessary throughout the party)
    • update internet with raspi-config
  2. Update the muses list with any found items
  3. Register each RFID tag with the associated muse.
  4. Download background music and create the "text-to-speech" output
  5. Run the interactive program for the party.

Update Muses Keys File

Add any muses to the json file in keys.json.

Register Muses with RFID Tags

Run this program to register each of the items onto an RFID tag. The program will print an item on the screen, then tap the corresponding RFID tag to the reader and it will write that string onto the tag.

    python3 setup_keys.py

Set Up Audio (Background Music and Text-To-Speech)

This script downloads all the background music specified in background_music.json, and creates speech-to-text for all the phrases in messages.json, with the keys from the keys.json file subbed in.

Please use your creativity and humor to add additional messages to messages.json. This makes the JourneyBard portal seem more dynamic and interesting.

If you want to add additional background music, you can edit the background_music.json file. All of the music is currently downloaded onto the pi. Note: if you don't want to re-download the music, do not provide --bg-music to the setup_audio.py script.

    python3 setup_audio.py --bg-music --messages

Run the Interactive Program

Now you're ready to play! Just run the below:

    python3 read_keys.py

Party Maintenance

In general, it should be good-to-go (with the exception of adding muses). The following may be things you want to do in maintenance mode:

* Address bugs that arise (there will certainly be bugs)
* Add messages to send people to specific rooms/destinations for certain muses.

Lore

Here is the additional lore:

The Story

  • Frame story, like Canterbury tales, or Sheherezade and the 1001 nights

Game Mechanics

The story begins with those who enter.

Once upon a time there was a guild of bards and storytellers, taking on new apprenticeships,. They look at the stories and choose one that appeals to them, or an opject on the wall they choose as a muse.

You will find a way for these stories or muses to send them to other rooms, as apprentice storytellers.

There they will have an adventure, and if they return, and we feel their story worthy, they will be allowed to change one of the stories currently in the book, and move up from apprentice to journeybard.

If they fail to delight us with their adventure take, they can choose to give their apprentice button to someone else, or to try again.

The Journeybard is given a button to recruit an apprentice, and asked to return and tell us the tale. If they impress this time, they become full BardGuild members and are allowed to write a sentence of their choosing on the empty door, telling the story of the RS19 BardGuild.

About

Tools for the BardGuild art project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages