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"}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 →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 →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.
| Rank | Snake | Rating |
|---|---|---|
| #1 | teste 2by VgsStudio | 29.1 |
| #2 | tESTEby VgsStudio | 28.4 |
| #3 | teste_2by lseixas | 19.4 |
| #4 | teste_1by lseixas | 19.3 |
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