package
3.0.1
Repository: https://github.com/lugobots/lugo4go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
FindIntersection finds the point where two lines intersect each other.
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
NewZeroedVelocity creates a velocity with speed zero.
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

# 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
Breakpoint that breaks the game before each player orders set be processed during the "Playing" state Each player's order set will be processed at once, so the breakpoint controls the process based on players, not on orders.
Breakpoint that breaks the game before each player turn be processed during the "Playing" state.
No description provided by the author
No description provided by the author
The game was interrupted by an external command (it was stopped).
No description provided by the author
The game was interrupted because the score difference is too large to the remaining time.
The game was interrupted because too many bots of at least one team disconnected.
No description provided by the author
Normal ending, the game ran until the end of the expected number of turns.
The game did not start.
start the game as soon as all players are connected.
wait external remote control (dev only).
immediately after all orders.
respect the timer defined by listening duration.
do not start until the master watcher request (gRPC call to Broadcast service).
The game resets the players position to start the match or to restart the match after a goal.
The game is waiting for players orders.
The game may be over after any phase.
The game is executing the players' orders in the same sequence they were gotten.
The game interrupt the match to shift the ball possession.
The game is waiting for all players be connected.
No description provided by the author
Used only by the Watch method.
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
Team playing on the right side of the field.
Team playing on the left side of field.

# Variables

Enum value maps for CommandResponse_StatusCode.
Enum value maps for CommandResponse_StatusCode.
Enum value maps for EventDebugBreakpoint_Breakpoint.
Enum value maps for EventDebugBreakpoint_Breakpoint.
Enum value maps for EventGameOver_BlameStop.
Enum value maps for EventGameOver_BlameStop.
Enum value maps for EventGameOver_EndingReason.
Enum value maps for EventGameOver_EndingReason.
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
Enum value maps for GameSetup_ListeningMode.
Enum value maps for GameSetup_ListeningMode.
Enum value maps for GameSetup_StartingMode.
Enum value maps for GameSetup_StartingMode.
Enum value maps for GameSnapshot_State.
Enum value maps for GameSnapshot_State.
Enum value maps for HealthCheckResponse_ServingStatus.
Enum value maps for HealthCheckResponse_ServingStatus.
Enum value maps for OrderResponse_StatusCode.
Enum value maps for OrderResponse_StatusCode.
Enum value maps for Team_Side.
Enum value maps for Team_Side.

# Structs

Stores all ball attributes.
No description provided by the author
Order to try to catch the ball.
No description provided by the author
(only available dev mode) Represents the event of having a breakpoint reached.
(only available dev mode) Represents the event of having a breakpoint released.
Represents the event of having the game ended.
Represents the event of having a goal during the match.
Represents the event of having a player disconnected from the game.
Represents the event of having a new player connected to the game.
Represents the event of having the game state changed (e.g.
Brings the game snapshot and the event in a specialised format.
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
GameSnapshot stores all game elements data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JoinRequest define the player configuration to the game.
Changes the goalkeepers velocity in a higher speed.
The kick order is only executed by the ball holder, and it is processed immediately.
Order to ask the server to change the player velocity (direction and speed).
No description provided by the author
No description provided by the author
Order to the game server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Message sent to the player as a response after sending a order set to the the server.
Message containing the orders the player want to send to the server in that turn.
No description provided by the author
Stores all player attributes.
No description provided by the author
No description provided by the author
No description provided by the author
Point represents one position on the cartesian plan of the game field.
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
Stores the side of the team in attack and the time remaining holding the ball.
No description provided by the author
Stores all team elements and data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedBroadcastServer can be embedded to have forward compatible implementations.
UnimplementedGameServer can be embedded to have forward compatible implementations.
UnimplementedHealthServer can be embedded to have forward compatible implementations.
UnimplementedRemoteServer can be embedded to have forward compatible implementations.
UnimplementedRLAssistantServer can be embedded to have forward compatible implementations.
Vector represent one direction on a cartesian plan.
Velocity is a tuple with the direction (a vector) an a speed (float) values.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
BroadcastClient is the client API for Broadcast service.
BroadcastServer is the server API for Broadcast service.
No description provided by the author
No description provided by the author
GameClient is the client API for Game service.
GameServer is the server API for Game service.
No description provided by the author
No description provided by the author
HealthClient is the client API for Health service.
HealthServer is the server API for Health service.
PlayerOrder is a hack to create a single type that includes all orders structs.
RemoteClient is the client API for Remote service.
RemoteServer is the server API for Remote service.
No description provided by the author
No description provided by the author
RLAssistantClient is the client API for RLAssistant service.
RLAssistantServer is the server API for RLAssistant service.

# 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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author