OptionalbackgroundBehind the game: any CSS background (default: the game's colour glowing over a deep navy) — 'transparent' to show the host's own
OptionalcollectionWhere what is won — a train's wagons, a sky, a band member, a potion — is collected
OptionalcolorsThe cards' colours: right, wrong, the staff, a choice
OptionaldefaultThe level to start on when the game keeps it (default: 1)
OptionaldefaultThe topic to start on when the game keeps it (default: null, its own cards)
The game to play: an entry, or its id in games
OptionalgamesWhere an id is looked up (default: defaultMusicGames)
OptionallabelsOptionallevelThe level played, 1 to the game's levels, when the host keeps it
OptionalonA back button before the level buttons, calling this
OptionalonOptionalonCalled when the player picks another level
OptionalonCalled with each finished game's result
OptionalonCalled with a new seed when the player asks for a new game
OptionalonCalled with null when the player goes back to the game's own cards (the topic chip's close button)
OptionalplayerWho is playing, kept with each result
OptionalresultWhere each finished game's result is saved
OptionalretryAfter a wrong answer, another go at the same card, where the game plays that way (default: true)
OptionalsamplesRecorded instrument samples for the notes, from a host you choose; without it a small built-in voice plays
OptionalseedThe seed the game is dealt from, when the host keeps it; a new seed is a new game
OptionalshowOpen the how-to-play help before the first card (default: true)
OptionalsoundsSounds on (default: true)
OptionalsxOptionaltopicThe Practice topic whose cards it plays, or null for its own, when the host keeps it
OptionaltopicsThe topics a pointed game names (default: practiceTopics)
Props for
MusicGame.