add versions to snakes and read it in server class

This commit is contained in:
2026-04-03 19:57:55 +02:00
parent 013ac98821
commit 0a3db6ba57
8 changed files with 499 additions and 444 deletions
+2
View File
@@ -4,6 +4,8 @@ import random
from scipy import spatial
class LogicSnake(TemplateSnake):
VERSION = "1.1.0"
def avoid_my_body(self, my_body, possible_moves: dict) -> list:
"""
my_body: List of dictionaries of x/y coordinates for every segment of a Battlesnake.