An interactive multiplayer music quiz where players compete to identify songs through colors and characters.
spektrum_demo.mp4
(sound on ↑)
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.
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.
git clone https://github.com/kottz/spektrum
cd server
cp env.example .env
cargo run --releaseSee env.example for configuration options.
cd frontend
cp env.example .env.development
cp env.example .env.production
npm run dev --host # Development
npm run build # ProductionSee env.example for configuration options.
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 # ProductionSee 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