hedwig_trivia v0.1.0 HedwigTrivia.GameState View Source

The home of the game state shape of HedwigTrivia

Link to this section Summary

Functions

Merge the pased in configuration with the defaults to create the Config struct.

Link to this section Types

Link to this type

answered()

View Source
answered() :: boolean()
Link to this type

category_name()

View Source
category_name() :: String.t()
Link to this type

question()

View Source
question() :: String.t()
Link to this type

t()

View Source
t() :: %HedwigTrivia.GameState{
  answer: answer(),
  answered: answered(),
  category_name: category_name(),
  debug: debug(),
  question: question(),
  value: value()
}

Link to this section Functions

Link to this function

new(passed_in \\ %{})

View Source
new(map()) :: t()

Merge the pased in configuration with the defaults to create the Config struct.