Hacker Newsnew | past | comments | ask | show | jobs | submit | bvanvugt's commentslogin

At that size, share everything. But also share all realistic outcomes, including what failure cases might look like. It's more about earning trust than "pumping" anyone up.


Our community recently pulled together a guide for comparing different free hosting providers.

https://blog.battlesnake.com/deploying-web-servers-for-free-...

It's really a shame, given how much we've relied on Heroku free tiers to lower barriers fr all.


Great guide, thanks!

You might want to add a note regarding Railway's free plan:

"Render’s free database plan allows you to run a PostgreSQL database that automatically expires 90 days after creation" [0]

So it's more a trial than a free plan like Heroku's was (e.g., free forever under 10k rows)

[0] https://render.com/docs/free#free-postgresql-databases


I'm one of the devs behind Battlesnake (https://play.battlesnake.com), and what Joy and the Coder One team are building looks awesome :)

Anything that gets more folks coding, especially at non-beginner levels, is a huge win imo. Congrats on the launch!


Thanks Brad! Battlesnake is pretty awesome too ;) A really fun programming project, and great Twitch streams too.


Bashtle Snake is one of the greatest Battlesnakes ever made.


Hey, thanks for playing! <3


Hi Hana & Josue - congrats on the launch! This looks like a wonderful product. As a developer I've built (admittedly terrible) versions of this, over and over... look forward to trying it!


This is a super interesting question to us, and to be honest we're not sure of the answer. Is it possible for a single ML snake to achieve 100% 1v1 win rate? What about 1v7?

What we've learned so far is that playing against multiple snakes, especially AI/ML driven snakes, adds an incredible amount of complexity to the game and the top ranked snakes tend switch around quite a bit as players adjust to attack/defend specific strategies.

If anyone has formal theory around this sort of problem, we'd love to investigate further.


Sure, the answer is trivial: 100% perfect agent isn't possible. Just have an AI play against itself. Since the game is simultaneous moves, there is no "first move advantage" or anything, so it would play out exactly as a mirror (give or take some random noise in the model). The only thing that would break the symmetry is where food spawns, which also would just be a coin flip which snake it would be close to.

In a 8 player game, it's a little different because there are 'side' and 'corner' positions. Obviously this isn't symmetric anymore, so if you played many games, one position would make itself clearly superior. That likely depends again, on the probability of food appearing in a snakes "zone of control" which you could represent with a voronoi diagram.

My gut instinct is that a 'side' position would eventually be revealed to be stronger because the snake has more options and freedom.

Of course, in a tournament setup, it's fully possible for an AI to have 100% win rate just by random chance, because you are only playing a finite number of games.


More than 2 players adds another level of complexity: alliances. Snake is a bit like Risk in that it's possible to attack a specific player while signalling intent.

We should expect any proper AI to read and understand the others and work out who should be avoided or ganged up on. Rock-Paper-Scissors tournaments have bots that use game moves to recognize eachother and then dump all their points onto a single player -- something similar could happen in Snake as well.


Glad to know that the answer isn't a definitive 'yes' right now then! It's certainly an interesting space I bet you enjoy reading through the solutions :)


Yeah I like something like this: "Build a bot to play the classic game 'Snake'"


Haha, yes! We actually had a "Tron Mode" at the tournament last year that just flooded the board with food to replicate light cycles.


Wasn't there also a bounty snake with tail pinning on?


Heroku is a really good option for beginners (and it's free!) We've got a few repos on GitHub that can be forked and deployed directly to Heroku:

https://github.com/battlesnakeio/community/blob/master/start...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: