package
0.3.0
Repository: https://github.com/woogles-io/liwords.git
Documentation: pkg.go.dev

# Packages

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

# Functions

AssignRacks assigns racks to the players.
No description provided by the author
Return a user-friendly event description.
Leave returns the leave after playing or using `tiles` in `rack`.
No description provided by the author
No description provided by the author
NewGame creates a new GameDocument.
ProcessGameplayEvent processes a ClientGameplayEvent submitted by userID.
ReconcileAllTiles returns an error if the tiles on the board and on player racks do not match the letter distribution.
ReplayEvents plays the events on the game document.
No description provided by the author
ToCGP converts the game to a CGP string.

# Constants

AlwaysAssignEmpty always assigns empty racks.
AssignEmptyIfUnambiguous assigns empty racks if they're the only thing they can be.
No description provided by the author
No description provided by the author
NeverAssignEmpty does not assign empty racks.
No description provided by the author
No description provided by the author
No description provided by the author
Redundant information, but we are deciding to treat different board layouts as different variants.
No description provided by the author
No description provided by the author

# Structs

FakeNower uses a fake timer.
No description provided by the author
GameTimer uses the standard library's `time` package to determine how much time has elapsed in a game.
No description provided by the author

# Interfaces

Nower is an interface for determining the current time.

# Type aliases

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