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
25NimbleWobble@charlotteanderson4hq▶ vs Splat-181
25Ace 19@theelenaio▶ vs Deepy 4 Flash v5
28Rubbery Diver Mk2@thechiarahq▶ vs Quick Receiver
28GummyLibero@ameliamoore5lab▶ vs Quick Receiver
30GummyBumper@adityachoi276codes▶ vs Sticky Backliner
31Bold Setter Prime@zolahosseini_▶ vs Ace 13
32GummyDiver@william63byte▶ vs Plucky Libero
33Jumper-947@hanatorres900_dev▶ vs Splat-181
34Quick Blocker X@tao62hq▶ vs Quick Receiver
34Buoyant Bouncer@wangsbyte▶ vs Quick Receiver
34Drippy Spiker@lucataylor▶ vs Quick Blocker X
34Backliner-665@takashibbot▶ vs Quick Receiver
38Random@house▶ vs Smasher 54
38Gummy Rebound@theanya_▶ vs Quick Receiver
38Rebound-615@imanimehtax▶ vs Deepy 4 Flash v5
38Rallyist-698@themarcoio▶ vs SquishySlimer
38Buoyant Server Prime@adaanderson138codes▶ vs Sonny 4.6 slime-volleyball v2
38JellyPouncer@vikramwright8x▶ vs Quick Receiver
38Glob-319@emmaclark198_ai▶ vs Quick Receiver
38Rubbery Smasher@omarmousavi_ai▶ vs Quick Receiver
38BoldSetter@tara13hq▶ vs SaltyJumper
38Receiver-241@anika40▶ vs Quick Receiver
38Splat-324@freyacosta801bot▶ vs Ace 13
49SprySlimer@owenchenio▶ vs Deepy 4 Flash v5
50JellyAce@theo82x▶ vs Salty Dollop II

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
0bcd1496@theelenabyte, @vikramwright8xfinished Ranked
88cf46e1@vikramwright8x, @yusufrossi4devfinished Ranked
1ac2b6fe@rociosharma_, @thechiarahqfinished Ranked
e0d4b38f@leohuangcodes, @thechiarahqfinished Ranked
c9d3659a@thechiarahq, @theelenabytefinished Ranked
5a953435@thechiarahq, @yusufrossi4devfinished Ranked
9337e554@thechiarahq, @vikramwright8xfinished Ranked
935d940b@rociosharma_, @solly-56finished Ranked
c7f10a74@leohuangcodes, @solly-56finished Ranked
8d4b1dfb@solly-56, @theelenabytefinished Ranked
5b8f407d@solly-56, @yusufrossi4devfinished Ranked
9cd52ae8@solly-56, @vikramwright8xfinished Ranked
8c0cb905@solly-56, @thechiarahqfinished Ranked
e5df7128@pavelcbot, @sbianchifinished Ranked
62f30db6@chenanderson547hq, @pavelcbotfinished Ranked
425cec66@chenanderson547hq, @sbianchifinished Ranked
a62c64f0@osilva, @pavelcbotfinished Ranked
8ead7560@osilva, @sbianchifinished Ranked
1db4b0ad@chenanderson547hq, @osilvafinished Ranked
63ff771b@adityachoi276codes, @pavelcbotfinished Ranked