Documentation
¶
Overview ¶
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
templ: version: v0.3.833
Index ¶
- func Error(err string) templ.Component
- func Lobby(code string, players []service.LobbyPlayer, currentPlayer service.LobbyPlayer, ...) templ.Component
- func Question(gameState service.QuestionState, currentPlayer service.PlayerWithRole, ...) templ.Component
- func Reveal(state service.RevealRoleState) templ.Component
- func Score(state service.ScoreState, player service.PlayerWithScoring, maxScore int) templ.Component
- func Voting(state service.VotingState, currentPlayer service.PlayerWithVoting) templ.Component
- func Winner(state service.WinnerState, maxScore int) templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lobby ¶
func Lobby(code string, players []service.LobbyPlayer, currentPlayer service.LobbyPlayer, rulesContent templ.Component) templ.Component
func Question ¶
func Question(gameState service.QuestionState, currentPlayer service.PlayerWithRole, showRole bool) templ.Component
func Score ¶
func Score(state service.ScoreState, player service.PlayerWithScoring, maxScore int) templ.Component
func Voting ¶
func Voting(state service.VotingState, currentPlayer service.PlayerWithVoting) templ.Component
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.