Lugo Bots

An exciting multi-agent AI game

From basic code to multi-agent RL models, your strategy is the key to victory!

  • Easy to code, easy to debug, easy to submit.
  • No installs, Docker is the only requirement to run the game.
  • Exciting to watch, cheering like a sport.
JetBrains logo. Alura logo.
class Bot:
        def on_disputing(self, inspector: GameSnapshotInspector) -> List[Order]:
            """
            This is called when no one has the ball possession
            """
            pass

        def on_defending(self, inspector: GameSnapshotInspector) -> List[Order]:
            """
            This is called when an opponent player has the ball possession
            """
            pass

        def on_holding(self, inspector: GameSnapshotInspector) -> List[Order]:
            """
            This is called when this bot has the ball possession
            """
            pass

        def on_supporting(self, inspector: GameSnapshotInspector) -> List[Order]:
            """
            This is called when a teammate player has the ball possession
            """
            pass

        def as_goalkeeper(self, inspector: GameSnapshotInspector, state: PLAYER_STATE) -> List[Order]:
            """
            This is only called when this bot is the goalkeeper (number 1). This method is called on every turn, and the player state is passed at the last parameter.
            """
            pass
    
export interface Bot {
{

    /**
     * OnDisputing is called when no one has the ball possession
     */
    onDisputing: (inspector: GameSnapshotInspector) => Order[]

    /**
     * OnDefending is called when an opponent player has the ball possession
     */
    onDefending: (inspector: GameSnapshotInspector) => Order[]

    /**
     * OnHolding is called when this bot has the ball possession
     */
    onHolding: (inspector: GameSnapshotInspector) => Order[]
    /**
     * OnSupporting is called when a teammate player has the ball possession
     */
    onSupporting: (inspector: GameSnapshotInspector) => Order[]

    /**
     * AsGoalkeeper is only called when this bot is the goalkeeper (number 1). This method is called on every turn, and the player state is passed at the last parameter.
     */
    asGoalkeeper: (inspector: GameSnapshotInspector, state: PLAYER_STATE) => Order[]
}
type Bot interface {

    // OnDisputing is called when no one has the ball possession
    OnDisputing(ctx context.Context, inspector SnapshotInspector) ([]proto.PlayerOrder, string, error)

    // OnDefending is called when an opponent player has the ball possession
    OnDefending(ctx context.Context, inspector SnapshotInspector) ([]proto.PlayerOrder, string, error)

    // OnHolding is called when this bot has the ball possession
    OnHolding(ctx context.Context, inspector SnapshotInspector) ([]proto.PlayerOrder, string, error)

    // OnSupporting is called when a teammate player has the ball possession
    OnSupporting(ctx context.Context, inspector SnapshotInspector) ([]proto.PlayerOrder, string, error)

    // AsGoalkeeper is only called when this bot is the goalkeeper (number 1). This method is called on every turn, and the player state is passed at the last parameter.
    AsGoalkeeper(ctx context.Context, inspector SnapshotInspector, state PlayerState) ([]proto.PlayerOrder, string, error)
}

Step 2

Push a Docker image

Step 3

Wait for bot to be approved

Last 5 matches

Done

2024-07-21T13:08:47+00:00

Done

2024-07-21T11:09:29+00:00

Done

2024-07-21T09:08:21+00:00

Done

2024-07-21T07:08:18+00:00

Done

2024-07-21T05:07:00+00:00

Top 5 bots

1 (239.0 Points)

133 W

8 L

7 D

2 (208.0 Points)

125 W

23 L

1 D

3 (203.0 Points)

127 W

40 L

20 D

4 (194.5 Points)

153 W

64 L

9 D

5 (128.0 Points)

80 W

48 L

20 D

5 (128.0 Points)

83 W

62 L

19 D

7 (77.0 Points)

66 W

64 L

12 D

8 (69.0 Points)

91 W

56 L

3 D

9 (65.5 Points)

68 W

59 L

22 D

10 (61.5 Points)

71 W

57 L

15 D