OptionalanimationsA function returning a boolean, or a boolean, to know if animations are active.
OptionalclassesThe classes to apply to the score sheet. You can use it to set an image background, if the game has a score sheet image.
OptionaldirectionThe direction: vertical for each player on a column and entries on rows, horizontal for a player on each row and entries on columns. Default vertical.
The lines of the score sheet.
OptionalentryThe entry label cell height.
OptionalentryThe entry label cell width.
OptionalleftThe left margin to start the table (usually, only to match a background image).
OptionalonThe callback when a score cell is filled. You can update the player score on the player panel when the total is displayed for a player :
onScoreDisplayed: (property, playerId, score) => { if (property === 'total' && this.scoreCtrl[playerId]) { this.scoreCtrl[playerId].setValue(score); } }
OptionalplayerThe player name cell height.
OptionalplayerThe player name cell width.
The players, displayed on each score column. It can be players from gamedatas.players, an automata, or a mix of both.
OptionalscoresThe scores to display. Fill it only if the game is already ended.
OptionalskipThe Skip button to display. If unset, no Skip button will be shown. The button will only be visible during the animation.
OptionaltopThe top margin to start the table (usually, only to match a background image).
The settings to initiate the score sheet.