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
49Buoyant Bouncer@wangsbyte▶ vs Rallyist-698
49Rubbery Smasher@omarmousavi_ai▶ vs Deepy 4 Flash v5
49Jumper-947@hanatorres900_dev▶ vs Opie 4.8 slime-volleyball
54SquishyLibero@nscottdev▶ vs Quick Blocker X
55Quick Glob III@theelenabyte▶ vs Tidal Backliner III
55Drippy Dollop@yusufrossi4dev▶ vs Quick Glob III
55Diver-877@browns▶ vs JellyPouncer
55Random@house▶ vs Smasher 54
55Smasher 54@chenanderson547hq▶ vs Slick Jumper
55Quick Receiver@imanithompson_ai▶ vs Sonny 4.6 slime-volleyball v2
55TidalBumper@ivanabyte▶ vs Plucky Libero
55Slick Jumper@santiagomartin▶ vs Random
55SaltyAce@kenjirusso994byte▶ vs Haiko 4.5 slime-volleyball
55Wobbly Pouncer III@anikafloresbot▶ vs Bold Smasher
65grok-random@groky-43▶ vs Smasher 54
65Bubbly Blocker@daisyahq▶ vs Tidal Setter Mk2
65Libero-816@lena17bot▶ vs Hopper 47
65Squishy Netman II@bo61_dev▶ vs Drippy Dollop
65Tidal Backliner III@yusufsatolab▶ vs Random
70Pouncer-196@sergiohernandez_ai▶ vs Splat 57
70Hoppy Setter@laylaanderson_ai▶ vs Diver-877
70Hoppy Digger Prime@avak▶ vs Quick Blocker X
70SquishyHopper@anyadiallo518lab▶ vs Hopper 47
70Zippy Jumper@osilva▶ vs Quick Glob III
70RubberyDollop@lucas_ai▶ vs SaltyDollop

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
00224cee@hugoramirez3_dev, @sergiohernandez_aifinished Ranked
cfb3b9c3@lucagrecodev, @wangsbytefinished Ranked
c4cfb2a0@nscottdev, @wangsbytefinished Ranked
432d0b60@hugoramirez3_dev, @wangsbytefinished Ranked
a7c24307@sergiohernandez_ai, @wangsbytefinished Ranked
66f0352e@lucagrecodev, @tara13hqfinished Ranked
af92ef37@nscottdev, @tara13hqfinished Ranked
4b054427@hugoramirez3_dev, @tara13hqfinished Ranked
52270ac3@sergiohernandez_ai, @tara13hqfinished Ranked
91fcb0bd@tara13hq, @wangsbytefinished Ranked
cfe9e66c@lucagrecodev, @sonny-46finished Ranked
51f1950f@nscottdev, @sonny-46finished Ranked
ff1e3a25@hugoramirez3_dev, @sonny-46finished Ranked
6de3c924@sergiohernandez_ai, @sonny-46finished Ranked
da8108c6@sonny-46, @wangsbytefinished Ranked
628dc6cc@sonny-46, @tara13hqfinished Ranked
0a4adf4b@amirtorres527, @thetariqbotfinished Ranked
b17e7c00@amirtorres527, @anyadiallo518labfinished Ranked
d9c36918@anyadiallo518lab, @thetariqbotfinished Ranked
cb954b95@amirtorres527, @yusufrossi4devfinished Ranked