package
0.9.3
Repository: https://github.com/scribble-rs/scribble.rs.git
Documentation: pkg.go.dev

# Functions

CheckGuess compares the strings with eachother.
CreateLobby creates a new lobby including the initial player (owner) and optionally returns an error, if any occurred during creation.
No description provided by the author
GetRandomWords gets a custom amount of random words for the passed Lobby.
No description provided by the author
No description provided by the author
SanitizeName removes invalid characters from the players name, resolves emoji codes, limits the name length and generates a new name if necessary.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Eevnts that are just incomming from the client.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Eevnts that are just incomming from the client.
Events that are outgoing only.
Eevnts that are just incomming from the client.
Events that are outgoing only.
Eevnts that are just incomming from the client.
Eevnts that are just incomming from the client.
Eevnts that are just incomming from the client.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
Events that are outgoing only.
GameOver means that the lobby had been start, but the max round limit has already been reached.
No description provided by the author
No description provided by the author
MaxPlayerNameLength defines how long a string can be at max when used as the playername.
No description provided by the author
Ongoing means the lobby has already been started.
No description provided by the author
No description provided by the author
No description provided by the author
Unstarted means the lobby has been opened but never started.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
Events that are bidirectional.
Events that are bidirectional.
Events that are bidirectional.
Events that are bidirectional.
Events that are bidirectional.
Events that are bidirectional.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

EditableLobbySettings represents all lobby settings that are editable by the lobby owner after the lobby has already been opened.
Event contains an eventtype and optionally any data.
No description provided by the author
No description provided by the author
GameOverEvent is basically the ready event, but contains the last word.
No description provided by the author
KickVote represents a players vote to kick another players.
No description provided by the author
No description provided by the author
Lobby represents a game session.
No description provided by the author
NextTurn represents the data necessary for displaying the lobby state right after a new turn started.
OutgoingMessage represents a message in the chatroom.
No description provided by the author
Player represents a participant in a Lobby.
ReadyEvent represents the initial state that a user needs upon connection.
SettingBounds defines the lower and upper bounds for the user-specified lobby creation input.
No description provided by the author
No description provided by the author
WordHint describes a character of the word that is to be guessed, whether the character should be shown and whether it should be underlined on the UI.
No description provided by the author

# Interfaces

ScoreCalculation allows having different scoring systems for a lobby.

# Type aliases

No description provided by the author
No description provided by the author