Versions in this module Expand all Collapse all v0 v0.0.2 Feb 4, 2022 v0.0.1 Feb 4, 2022 Changes in this version + var BotRequest_BotCode_name = map[int32]string + var BotRequest_BotCode_value = map[string]int32 + var ChallengeRule_name = map[int32]string + var ChallengeRule_value = map[string]int32 + var File_api_proto_macondo_macondo_proto protoreflect.FileDescriptor + var GameEvent_Direction_name = map[int32]string + var GameEvent_Direction_value = map[string]int32 + var GameEvent_Type_name = map[int32]string + var GameEvent_Type_value = map[string]int32 + var PlayState_name = map[int32]string + var PlayState_value = map[string]int32 + type BotRequest struct + BotType BotRequest_BotCode + EvaluationRequest *EvaluationRequest + GameHistory *GameHistory + func (*BotRequest) Descriptor() ([]byte, []int) + func (*BotRequest) ProtoMessage() + func (x *BotRequest) GetBotType() BotRequest_BotCode + func (x *BotRequest) GetEvaluationRequest() *EvaluationRequest + func (x *BotRequest) GetGameHistory() *GameHistory + func (x *BotRequest) ProtoReflect() protoreflect.Message + func (x *BotRequest) Reset() + func (x *BotRequest) String() string + type BotRequest_BotCode int32 + const BotRequest_HASTY_BOT + const BotRequest_LEVEL1_CEL_BOT + const BotRequest_LEVEL1_PROBABILISTIC + const BotRequest_LEVEL2_CEL_BOT + const BotRequest_LEVEL2_PROBABILISTIC + const BotRequest_LEVEL3_CEL_BOT + const BotRequest_LEVEL3_PROBABILISTIC + const BotRequest_LEVEL4_CEL_BOT + const BotRequest_LEVEL4_PROBABILISTIC + const BotRequest_LEVEL5_PROBABILISTIC + const BotRequest_SIMMING_BOT + func (BotRequest_BotCode) Descriptor() protoreflect.EnumDescriptor + func (BotRequest_BotCode) EnumDescriptor() ([]byte, []int) + func (BotRequest_BotCode) Type() protoreflect.EnumType + func (x BotRequest_BotCode) Enum() *BotRequest_BotCode + func (x BotRequest_BotCode) Number() protoreflect.EnumNumber + func (x BotRequest_BotCode) String() string + type BotResponse struct + Eval *Evaluation + Response isBotResponse_Response + func (*BotResponse) Descriptor() ([]byte, []int) + func (*BotResponse) ProtoMessage() + func (m *BotResponse) GetResponse() isBotResponse_Response + func (x *BotResponse) GetError() string + func (x *BotResponse) GetEval() *Evaluation + func (x *BotResponse) GetMove() *GameEvent + func (x *BotResponse) ProtoReflect() protoreflect.Message + func (x *BotResponse) Reset() + func (x *BotResponse) String() string + type BotResponse_Error struct + Error string + type BotResponse_Move struct + Move *GameEvent + type ChallengeRule int32 + const ChallengeRule_DOUBLE + const ChallengeRule_FIVE_POINT + const ChallengeRule_SINGLE + const ChallengeRule_TEN_POINT + const ChallengeRule_TRIPLE + const ChallengeRule_VOID + func (ChallengeRule) Descriptor() protoreflect.EnumDescriptor + func (ChallengeRule) EnumDescriptor() ([]byte, []int) + func (ChallengeRule) Type() protoreflect.EnumType + func (x ChallengeRule) Enum() *ChallengeRule + func (x ChallengeRule) Number() protoreflect.EnumNumber + func (x ChallengeRule) String() string + type Evaluation struct + PlayEval []*SingleEvaluation + func (*Evaluation) Descriptor() ([]byte, []int) + func (*Evaluation) ProtoMessage() + func (x *Evaluation) GetPlayEval() []*SingleEvaluation + func (x *Evaluation) ProtoReflect() protoreflect.Message + func (x *Evaluation) Reset() + func (x *Evaluation) String() string + type EvaluationRequest struct + User string + func (*EvaluationRequest) Descriptor() ([]byte, []int) + func (*EvaluationRequest) ProtoMessage() + func (x *EvaluationRequest) GetUser() string + func (x *EvaluationRequest) ProtoReflect() protoreflect.Message + func (x *EvaluationRequest) Reset() + func (x *EvaluationRequest) String() string + type GameEvent struct + Bonus int32 + Column int32 + Cumulative int32 + Direction GameEvent_Direction + EndRackPoints int32 + Exchanged string + IsBingo bool + LostScore int32 + MillisRemaining int32 + Nickname string + Note string + PlayedTiles string + Position string + Rack string + Row int32 + Score int32 + Type GameEvent_Type + WordsFormed []string + func (*GameEvent) Descriptor() ([]byte, []int) + func (*GameEvent) ProtoMessage() + func (x *GameEvent) GetBonus() int32 + func (x *GameEvent) GetColumn() int32 + func (x *GameEvent) GetCumulative() int32 + func (x *GameEvent) GetDirection() GameEvent_Direction + func (x *GameEvent) GetEndRackPoints() int32 + func (x *GameEvent) GetExchanged() string + func (x *GameEvent) GetIsBingo() bool + func (x *GameEvent) GetLostScore() int32 + func (x *GameEvent) GetMillisRemaining() int32 + func (x *GameEvent) GetNickname() string + func (x *GameEvent) GetNote() string + func (x *GameEvent) GetPlayedTiles() string + func (x *GameEvent) GetPosition() string + func (x *GameEvent) GetRack() string + func (x *GameEvent) GetRow() int32 + func (x *GameEvent) GetScore() int32 + func (x *GameEvent) GetType() GameEvent_Type + func (x *GameEvent) GetWordsFormed() []string + func (x *GameEvent) ProtoReflect() protoreflect.Message + func (x *GameEvent) Reset() + func (x *GameEvent) String() string + type GameEvent_Direction int32 + const GameEvent_HORIZONTAL + const GameEvent_VERTICAL + func (GameEvent_Direction) Descriptor() protoreflect.EnumDescriptor + func (GameEvent_Direction) EnumDescriptor() ([]byte, []int) + func (GameEvent_Direction) Type() protoreflect.EnumType + func (x GameEvent_Direction) Enum() *GameEvent_Direction + func (x GameEvent_Direction) Number() protoreflect.EnumNumber + func (x GameEvent_Direction) String() string + type GameEvent_Type int32 + const GameEvent_CHALLENGE + const GameEvent_CHALLENGE_BONUS + const GameEvent_END_RACK_PENALTY + const GameEvent_END_RACK_PTS + const GameEvent_EXCHANGE + const GameEvent_PASS + const GameEvent_PHONY_TILES_RETURNED + const GameEvent_TILE_PLACEMENT_MOVE + const GameEvent_TIME_PENALTY + const GameEvent_UNSUCCESSFUL_CHALLENGE_TURN_LOSS + func (GameEvent_Type) Descriptor() protoreflect.EnumDescriptor + func (GameEvent_Type) EnumDescriptor() ([]byte, []int) + func (GameEvent_Type) Type() protoreflect.EnumType + func (x GameEvent_Type) Enum() *GameEvent_Type + func (x GameEvent_Type) Number() protoreflect.EnumNumber + func (x GameEvent_Type) String() string + type GameHistory struct + BoardLayout string + ChallengeRule ChallengeRule + Description string + Events []*GameEvent + FinalScores []int32 + IdAuth string + LastKnownRacks []string + LetterDistribution string + Lexicon string + OriginalGcg string + PlayState PlayState + Players []*PlayerInfo + SecondWentFirst bool + Title string + Uid string + Variant string + Version int32 + Winner int32 + func (*GameHistory) Descriptor() ([]byte, []int) + func (*GameHistory) ProtoMessage() + func (x *GameHistory) GetBoardLayout() string + func (x *GameHistory) GetChallengeRule() ChallengeRule + func (x *GameHistory) GetDescription() string + func (x *GameHistory) GetEvents() []*GameEvent + func (x *GameHistory) GetFinalScores() []int32 + func (x *GameHistory) GetIdAuth() string + func (x *GameHistory) GetLastKnownRacks() []string + func (x *GameHistory) GetLetterDistribution() string + func (x *GameHistory) GetLexicon() string + func (x *GameHistory) GetOriginalGcg() string + func (x *GameHistory) GetPlayState() PlayState + func (x *GameHistory) GetPlayers() []*PlayerInfo + func (x *GameHistory) GetSecondWentFirst() bool + func (x *GameHistory) GetTitle() string + func (x *GameHistory) GetUid() string + func (x *GameHistory) GetVariant() string + func (x *GameHistory) GetVersion() int32 + func (x *GameHistory) GetWinner() int32 + func (x *GameHistory) ProtoReflect() protoreflect.Message + func (x *GameHistory) Reset() + func (x *GameHistory) String() string + type PlayState int32 + const PlayState_GAME_OVER + const PlayState_PLAYING + const PlayState_WAITING_FOR_FINAL_PASS + func (PlayState) Descriptor() protoreflect.EnumDescriptor + func (PlayState) EnumDescriptor() ([]byte, []int) + func (PlayState) Type() protoreflect.EnumType + func (x PlayState) Enum() *PlayState + func (x PlayState) Number() protoreflect.EnumNumber + func (x PlayState) String() string + type PlayerInfo struct + Nickname string + RealName string + UserId string + func (*PlayerInfo) Descriptor() ([]byte, []int) + func (*PlayerInfo) ProtoMessage() + func (x *PlayerInfo) GetNickname() string + func (x *PlayerInfo) GetRealName() string + func (x *PlayerInfo) GetUserId() string + func (x *PlayerInfo) ProtoReflect() protoreflect.Message + func (x *PlayerInfo) Reset() + func (x *PlayerInfo) String() string + type SingleEvaluation struct + EquityLoss float64 + MissedBingo bool + MissedStarPlay bool + PossibleStarPlay bool + TopIsBingo bool + WinPctLoss float64 + func (*SingleEvaluation) Descriptor() ([]byte, []int) + func (*SingleEvaluation) ProtoMessage() + func (x *SingleEvaluation) GetEquityLoss() float64 + func (x *SingleEvaluation) GetMissedBingo() bool + func (x *SingleEvaluation) GetMissedStarPlay() bool + func (x *SingleEvaluation) GetPossibleStarPlay() bool + func (x *SingleEvaluation) GetTopIsBingo() bool + func (x *SingleEvaluation) GetWinPctLoss() float64 + func (x *SingleEvaluation) ProtoReflect() protoreflect.Message + func (x *SingleEvaluation) Reset() + func (x *SingleEvaluation) String() string