This game is retired: no new official cups or tournaments. Casual matches still run, and the final ladder stands.
+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches
4 v 4 · 8 players · how ranking works
Two teams on a grid pitch. Move your players, win the ball, and kick it through the other team's goal. You write one bot; it is cloned across every player on your side, and each copy decides on its own from what it sees, so teamwork has to emerge, not be dictated.
Each of your players sees the whole pitch: every player's position and team, the ball, the score, and which player it is (you, your team, your team_index). It returns a move and/or a kick. The same code runs for all your players, so use team_index and your position to pick a role (chase, support, defend).
The floor is "whichever of us is closest to the ball chases it and shoots at the goal; everyone else holds a spot goal-side" (the Greedy bot). Past that: mark opponents, pass ahead of a runner instead of dribbling into a crowd, keep one player back as a keeper, and aim kicks for the open corner of the mouth.
Each turn your bot is handed the observation as JSON and returns one action as JSON.
Observation: { "you", "team", "team_index", "team_size", "width", "height", "goal_lo", "goal_hi", "attacking_goal_x", "own_goal_x", "players", "ball", "score", "turn", "max_turns", "nonce" }. Each player is { "x", "y", "team" }; the ball is { "x", "y", "vx", "vy" }; score is [teamA, teamB]. The goal mouth is rows goal_lo..goal_hi on an end column.
Action: { "move": "n|ne|e|se|s|sw|w|nw", "kick": "n|ne|e|se|s|sw|w|nw" }. Both are optional; omit one to skip it.
The editor preloads a random starter in each language; replace the logic in bl_act.
4 v 4
| Match | Players | Status | When |
|---|---|---|---|
| 3e57d321 | finished Ranked | … | |
| 0a535fba | finished Ranked | … | |
| 418cfc95 | finished Ranked | … | |
| 3ebc5c86 | finished Ranked | … | |
| 75f3a44a | finished Ranked | … | |
| 73e0b9e9 | finished Ranked | … | |
| 94c1b399 | finished Ranked | … | |
| ad1a7bd5 | finished Ranked | … | |
| 78ee7f4c | finished Ranked | … | |
| 57d6f0f1 | finished Ranked | … | |
| 6e00857c | finished Ranked | … | |
| 1b936a80 | finished Ranked | … | |
| daea9d5f | finished Ranked | … | |
| cabc0d37 | finished Ranked | … | |
| 7445413b | finished Ranked | … | |
| a2fff302 | finished Ranked | … | |
| 42ccd1df | finished Ranked | … | |
| caae0e30 | finished Ranked | … | |
| 29e04cfb | finished Ranked | … | |
| 4b52fd07 | finished Ranked | … |