fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#Battlesnake

0 posts0 participants0 posts today

Typescript in the streets
Rust in the sheets

Started work on building a in Rust. I've already sketched out the main building blocks and have a working flood fill algorithm. I'm thinking of taking another crack at breadth first search (if I can wrap head around recursive generics).

I'm also curious to abuse the u128 as a bit board, but I gotta get the thing working before I optimize.

Registration is now open for the fall league: blog.battlesnake.com/fall-leag

For those who don't know, it's a competitive programming challenge where you create a webserver that plays a multiplayer version of the classic game "snake". It's a lot of fun and you can use whatever tech you want.

This season I'm working on a snake built with that builds a lookahead behavior tree to find the best move each turn. The snake's name? Stacy's Mamba

Battlesnake BlogFall League Registration is Open!Don't miss your chance to join the final public league of the 2022 competitive season! Find out what's new and what's staying the same for Fall League so you'll be ready for battle when the competition begins on September 30th. Register for the 2022 Fall League Competition!📘New to Competitive

In the effort to be (somewhat) competitive in fall league, I've decided to take the dive into AI algorithms. No more chains of IF statements for me!

At the moment I'm working on building out a minimax behavior tree, but I've yet to decide on a heuristic function.

Working in has really helped

I've been off-and-on working on a that I entered into the spring competitive league.

Snake Gyllenhaal 🐍

It wasn't very successful initially, but now I got:
- snake avoidance (including wrapped snakes)
- preference against hazards
- preference against potential head to head collisions with bigger snakes (again, factoring in wrapped mode)

Now I've gotta pick a high-level strategy: hungry snake (astar algorithm), shy guy (flood fill algorithm), chaos snake (as-is).