Earlier quoted context omitted.
Historically, they've recommended Heroku... however, their dynos have a cold-start problem, causing your snake to sometimes timeout. I would recommend using an AWS free-tier instance if you have the option.
I remember that, they recommended a workaround last minute for it. Our snake depended on simulations so we just spun up a beefy GCP instance for a short period at the expense of a few cents.
Battlesnake – Competitive Snake Games over HTTP
21–30 of 55 posts
Re: Battlesnake – Competitive Snake Games over HTTP
#22Re: Battlesnake – Competitive Snake Games over HTTP
#23Looks very cool! I have a question - with AI nowadays that can dominate pretty much any board game - is there any hope for anyone 'hand coding' a strategy here against someone who just trains an AI model. How does the problem space change in a game such as this where it may be 1v8 opponents vs a 1v1 game such as chess I wonder
Not sure if it's what you meant, but it's less "hand coding" and more about trying to enumerate board-state possibilities (i.e. "I'm hungry" or "there's a snake at x") and addressing them via generalized algorithms.
Re: Battlesnake – Competitive Snake Games over HTTP
#24I just realized that a multiplayer Snake is basically the TRON racing game played on a discrete grid.
Haha, yes! We actually had a "Tron Mode" at the tournament last year that just flooded the board with food to replicate light cycles.
Re: Battlesnake – Competitive Snake Games over HTTP
#25" Step 1 Write a program to play the game Snake Step 2 Deploy using whatever technology you like Step 3 Battle other snakes and compete in arenas! " Sounds cool, that title make it sound like yet another worms.io clone, but this is programmatic gaming - I feel the title should include that, or "make a snake bot to battle in a classic 'snake' arena".
Re: Battlesnake – Competitive Snake Games over HTTP
#26Looks very cool! I have a question - with AI nowadays that can dominate pretty much any board game - is there any hope for anyone 'hand coding' a strategy here against someone who just trains an AI model. How does the problem space change in a game such as this where it may be 1v8 opponents vs a 1v1 game such as chess I wonder
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.
Re: Battlesnake – Competitive Snake Games over HTTP
#27Does anyone have a list of competitive programming challenges like this? Specifically where you're programming a board game against other algorithms. Googling "competitive programming challenges" doesn't yield a lot of good results. I'm aware of http://fruitbots.org/ , which I had a lot of fun with.
Re: Battlesnake – Competitive Snake Games over HTTP
#28Looks very cool! I have a question - with AI nowadays that can dominate pretty much any board game - is there any hope for anyone 'hand coding' a strategy here against someone who just trains an AI model. How does the problem space change in a game such as this where it may be 1v8 opponents vs a 1v1 game such as chess I wonder
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 spe…
Re: Battlesnake – Competitive Snake Games over HTTP
#29Looks very cool! I have a question - with AI nowadays that can dominate pretty much any board game - is there any hope for anyone 'hand coding' a strategy here against someone who just trains an AI model. How does the problem space change in a game such as this where it may be 1v8 opponents vs a 1v1 game such as chess I wonder
Last year, I believe only one team even _tried_ an ML snake and they didn't make enough progress to actually compete. "Hand coding," so far, has been the way to go. Not sure if it's what you meant, but it's less "hand coding" and more about trying to enumerate board-state possibilities (i.e. "I'm hungry" or "there's a snake at x") and addressing them via generalized algorithms.
I'd love to know how the problem space looks in this game vs chess for example as I mentioned.
My terming is a little vague what I had meant is 'black box' solutions I guess where the logic can not be inferred via looking at the code