Skip to content

kottz/spektrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

529 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 Spektrum

An interactive multiplayer music quiz where players compete to identify songs through colors and characters.

spektrum_demo.mp4

(sound on ↑)

How to Play

Spektrum is meant to be played with all participants in the same room. One person acts as the host and is responsible for music playback. The host creates a lobby and shares the join code with the group. When players have joined, the host starts the game.

Players will hear a piece of music and must identify the correct color or character associated with each song. Quick answers score more points.

Current Questions

The quiz at https://melodiquiz.se features a mix of Anglosphere and Swedish music. If you'd prefer to use your own question set, you can host your own instance following the instructions below.

Host Your Own

Backend Setup

git clone https://github.com/kottz/spektrum
cd server
cp env.example .env
cargo run --release

See env.example for configuration options.

Frontend Setup

cd frontend
cp env.example .env.development
cp env.example .env.production
npm run dev --host    # Development
npm run build         # Production

See env.example for configuration options.

Creating Custom Questions

There is also a separate admin panel you can use as a convenient way to add and remove questions and sets.

cd admin_panel
cp env.example .env.development
cp env.example .env.production
npm run dev --host    # Development
npm run build         # Production

See env.example for configuration options. Questions are stored in server/data as a JSON file. The game supports two types of questions:

Color questions require:

  • Media (Song with a YouTube-link)
  • One or more colors from: Red, Green, Blue, Yellow, Purple, Gold, Silver, Pink, Black, White, Brown, Orange, Gray

Character questions require:

  • Media (Song with a YouTube-link)
  • Six different character options per question
  • 300x300 AVIF image for each character

About

An interactive music quiz based on colors and characters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published