OptionalbackgroundBehind the game: any CSS background (default: the game's colour glowing over a deep navy) — 'transparent' to show the host's own
OptionalcardThe cards' colours in each game
OptionalcollectionWhere what is won — a train's wagons, a sky, a band member, a potion — is collected
OptionalcolorsThe lobby's colours
OptionaldefaultThe level to start on when the game keeps it (default: 1)
OptionaldefaultThe game to open on when the component keeps it (default: null, the lobby)
OptionaldefaultThe topic to start on when the game keeps it (default: null, its own cards)
OptionalgameOptionalgamesWhere an id is looked up (default: defaultMusicGames)
OptionallevelThe level played, 1 to the game's levels, when the host keeps it
OptionallobbyOptionalmascotThe face beside the lobby's title, or false for none (default: 'owl')
OptionalonOptionalonCalled when the player picks another level
OptionalonCalled when a game is picked (its id) or left (null)
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
OptionalplayingThe id of the game being played, or null for the lobby, when the host keeps it
OptionalresultsResults to count each game's plays from in the lobby; read from resultStore when not given
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
MusicGames.