Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 620 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 620 Bytes

NOTICE:
This project has now been superseded by the shrimp project, so this is primarily staying up as a reference.

inundiato

A Rust Battlesnake built using the warpy_snake template.

How it works

It iterates through the 4 possible board states from the current one, and then sees if:

  1. its dead
  2. it won
    These 2 are the extremes.
    Then it looks for the following:
  3. Smallest path to the nearest food using A*
  4. Smallest path to the closest snake shorter than it
  5. Food ownership (Vornoi w/ A*)
  6. Area ownership (Vornoi w/ A*)

Current bugs

Dies from low health Goes for obviously unreachable food