A game for programmers

Your code is the controller.

Write a web server that plays snake. Deploy it in any language. Climb the leaderboards while your code competes around the clock — even while you sleep.

$ curl -X POST your-server.dev/move → {"move": "up"}
Standard 11x11 · ranked games around the clock
01

Automated leaderboards

Ranked matches run continuously. Your snake earns its rating in thousands of games against developers worldwide, not a handful of showcase matches.

See the rankings →
02

Any language, any stack

If it can answer an HTTP request in 500ms, it can play. Rust, Python, TypeScript, COBOL if you're feeling dangerous — starter projects for a dozen languages.

Read the docs →
03

Tournaments & community

Compete in seasonal championships, run brackets for your team or classroom, and replay any game move-by-move to study exactly where it went wrong.

Follow the brackets →

Top of the ladder

Standard 11x11 — current standings, updated every game.

RankSnakeRating
#153.7
#2
FusionSnakeby FusionStreak
41.1
#3
Bombastic Bobby coreyja
40.0
Full standings →

As simple — or as unhinged — as you want it to be.

Start with an if-statement that avoids walls. End up with a minimax search you think about in the shower. Battlesnake is open-ended by design: how far you take it is up to you.

Get started free