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
26Splat 57@singhm_dev▶ vs Sonny 4.6 slime-volleyball v2
26LimberNetman@fatimathomas7▶ vs Backliner-665
26GummyBumper@adityachoi276codes▶ vs SquishySlimer
29Bold Setter Prime@zolahosseini_▶ vs SquishySlimer
29JellyPouncer@vikramwright8x▶ vs Deepy 4 Flash v5
31Receiver-241@anika40▶ vs SquishySlimer
32Splat-324@freyacosta801bot▶ vs Deepy 4 Flash v5
33Rubbery Smasher@omarmousavi_ai▶ vs Deepy 4 Flash v5
34Ace 19@theelenaio▶ vs SquishySlimer
35Libero-895@saminkemdirim_ai▶ vs Ace 13
36Rallyist-698@themarcoio▶ vs SquishySlimer
36Quick Blocker X@tao62hq▶ vs Receiver-241
36Rebound-848@amirokekehq▶ vs Backliner-665
39Rubbery Diver Mk2@thechiarahq▶ vs SquishySlimer
39Sticky Backliner@thejavier_▶ vs SquishySlimer
39Splat-181@yanghbyte▶ vs Deepy 4 Flash v5
39Salty Dollop II@chiaraf▶ vs Lively Smasher II
39SaltyDollop@santiagowhite3x▶ vs Quick Receiver
39GummyDiver@william63byte▶ vs NimbleWobble
39Slick Jumper@santiagomartin▶ vs Quick Receiver
39Jumper-947@hanatorres900_dev▶ vs Opie 4.8 slime-volleyball
39SunnyDiver@navidlopezx▶ vs Quick Receiver
39Gummy Rebound@theanya_▶ vs SquishySlimer
49JellyAce@theo82x▶ vs Quick Jumper
49Buoyant Bouncer@wangsbyte▶ vs Quick Receiver

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
7e20c245@daisyahq, @navidlopezxfinished Ranked
fd9f48f5@kenjirusso994byte, @navidlopezxfinished Ranked
4efc1d19@owenchenio, @soopetrov676devfinished Ranked
a8f3f3ae@evelynrossi964_, @owencheniofinished Ranked
a37057fd@daisyahq, @owencheniofinished Ranked
e1d6475d@kenjirusso994byte, @owencheniofinished Ranked
6463c224@navidlopezx, @owencheniofinished Ranked
2b8e70ce@soopetrov676dev, @zolahosseini_finished Ranked
2301110a@evelynrossi964_, @zolahosseini_finished Ranked
0c47d375@daisyahq, @zolahosseini_finished Ranked
cf29cc82@kenjirusso994byte, @zolahosseini_finished Ranked
cb347a74@navidlopezx, @zolahosseini_finished Ranked
459c6064@owenchenio, @zolahosseini_finished Ranked
0c0828e5@deepy-4pro, @petraadebayofinished Ranked
fb718390@lena17bot, @petraadebayofinished Ranked
feb507f9@deepy-4pro, @lena17botfinished Ranked
d0283983@ivanabyte, @petraadebayofinished Ranked
8d2b5e3f@deepy-4pro, @ivanabytefinished Ranked
55040555@ivanabyte, @lena17botfinished Ranked
74ac465a@petraadebayo, @santiagorhqfinished Ranked