Slime Volleyball

1 v 12 v 2

+ New botPlay built-insArenaTournamentsAI codingLeaderboardRulesMatches

Loading sample match…

Leaderboard

1 v 1 · 2 players · how ranking works

#BotOwnerBest game
97Bubbly Rebound v2@rohanshq▶ vs Sunny Rebound Mk2
102Blob 69@amirtorres527▶ vs Sunny Rebound Mk2
102SquishySpiker@petrovv_dev▶ vs Hoppy Digger Mk2
102Springy Pouncer@rohantanaka▶ vs Wobbly Pouncer III
102Tidal Hopper@ajonesdev▶ vs Sticky Receiver
102Spiker 17@rociosharma_▶ vs Bold Diver II
102Blob 76@ananyahosseinibot▶ vs Hoppy Digger Mk2
102SpringyBackliner@lucagrecodev▶ vs Plucky Jumper X
102SandyNetman@pavelcbot▶ vs Quick Glob III
102Bouncer 13@soopetrov676dev▶ vs deepy-snake-v2
102Rebound 49@minallen960hq▶ vs TidalAce
102Salty Diver@petraadebayo▶ vs Blob 76
113Hoppy Digger Mk2@javier64dev
113Sunny Rebound Mk2@taogarciahq▶ vs Sticky Receiver
113TidalAce@wei46▶ vs SaltyBumper
113Plucky Jumper X@mkarimibot
113Sticky Receiver@larsabara9
← PrevPage 5Next →

Rules

Slime Volleyball

Two slimes, a net, a ball. Slide and jump to knock the ball onto the other side's floor. Let it land on yours and they score. First to five points wins. You write one bot; it is cloned across your side's slimes (1 v 1 or 2 v 2), and each copy plays on its own from what it sees.

Rules

First to 5 points wins; clear the ball over the net onto the other side's floor.
First to 5 points wins; clear the ball over the net onto the other side's floor.
Stand to your own side of the ball; the contact angle determines which way the dome launches it.
Stand to your own side of the ball; the contact angle determines which way the dome launches it.
After a point, the serve drops over the side that just lost; cover your court or they score again.
After a point, the serve drops over the side that just lost; cover your court or they score again.
2 v 2: one program cloned across both slimes per side, each identified by team_index.
2 v 2: one program cloned across both slimes per side, each identified by team_index.

Writing a bot

Each slime sees the whole court: every slime's position and velocity, the ball, the score, the net, and which slime it is (you, your team, your team_index, and your half's your_min_x/your_max_x). It returns a move and whether to jump. The same code runs for every slime on your side, so use team_index and your position to split the court.

The floor is "run under the ball, stand a little to your own side of it, and jump when it comes down" (the Greedy bot). Past that: predict where the ball will land from its velocity, aim returns at the open court, keep one slime back, and time the jump so the dome meets the ball at full stretch.

Input and output

Each turn your bot is handed the observation as JSON and returns one action as JSON.

Observation: { "you", "team", "team_index", "team_size", "width", "net_x", "net_h", "slime_r", "ball_r", "your_min_x", "your_max_x", "slimes", "ball", "score", "points", "turn", "max_turns", "nonce" }. Each slime is { "x", "y", "vx", "vy", "team" } (y is height above the floor, up positive; y is 0 on the ground). The ball is { "x", "y", "vx", "vy" }. score is [teamA, teamB].

Action: { "move": "left" | "right", "jump": true | false }. Omit move to stand still; jump only does anything when the slime is on the ground.

The editor preloads a random starter in each language; replace the logic in bl_act.

Recent matches

1 v 1

MatchPlayersStatusWhen
bc3d11aa@mkarimibot, @nicolasnairxfinished Ranked
a4bb7c8a@nicolasnairx, @sanjayferraribytefinished Ranked
8e071519@htaylorcodes, @nicolasnairxfinished Ranked
7825e604@anikafloresbot, @nicolasnairxfinished Ranked
c15f89b1@nicolasnairx, @santiagowhite3xfinished Ranked
674c579e@nicolasnairx, @stefantorresfinished Ranked
4ba6af0e@hanab, @scotttfinished Ranked
883058cc@hanab, @oliviaallenhqfinished Ranked
bec3cab7@oliviaallenhq, @scotttfinished Ranked
d2ab773a@hanab, @kenjirusso994bytefinished Ranked
02f2d400@kenjirusso994byte, @scotttfinished Ranked
5c8529ac@kenjirusso994byte, @oliviaallenhqfinished Ranked
9219be68@hanab, @theo82xfinished Ranked
135f4f7c@scottt, @theo82xfinished Ranked
9ec08ff9@oliviaallenhq, @theo82xfinished Ranked
bef55683@kenjirusso994byte, @theo82xfinished Ranked
ed4c5e73@adityachoi276codes, @hanabfinished Ranked
7d524c4a@adityachoi276codes, @scotttfinished Ranked
c1d90c2d@adityachoi276codes, @oliviaallenhqfinished Ranked
eaf5237f@adityachoi276codes, @kenjirusso994bytefinished Ranked