add versions to snakes and read it in server class
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user