# README
go-flip
A way to flip coins with your friends
# Functions
Flip takes all the completed PlayerStates from the game, makes sure they don't have an error, and if not, outputs a PRNG from which arbirarily many ints, or bools, can be deterministically plucked.
FlipOneBool takes all the completed PlayerStates, and checks them.
FlipOneInt takes all the completed PlayerStates, and checks them.
FlipOneBig takes all the completed PlayerStates, and checks them.
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
NewDealer makes a new Dealer with a given DealersHelper.
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
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
No description provided by the author
NewStartWithBigInt makes new start parameters that yield a coinflip game that picks big int between 0 and mod.
NewStartWithBool makes new start parameters that yield a coinflip game.
NewStartWithInt makes new start parameters that yield a coinflip game that picks an int between 0 and mod.
NewStartWithShuffle makes new start parameters for a coinflip that randomly permutes the numbers between 0 and n, exclusive.
No description provided by the author
No description provided by the author
# 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
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
No description provided by the author
# Variables
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
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
No description provided by the author
# Structs
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Dealer is a peristent process that runs in the chat client that deals out a game.
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
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
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
GameMessageWrappedEncoded contains a sender, a gameID and a Body.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GameStateUpdateMessage is sent from the game dealer out to the calling chat client, to update him on changes to game state that happened.
No description provided by the author
No description provided by the author
PlayerState refers to all state about a player in the game.
PRNG is based on AES-CTR.
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
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
# Interfaces
DealersHelper is an interface that calling chat clients need to implement.
No description provided by the author
ReplayHelper contains hooks needed to replay a flip.
# Type aliases
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
GameMessageEncoded is a game message that is shipped over the chat channel.
No description provided by the author
No description provided by the author
Player is an identifier for a player in the flip game.
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