fix circular import errors so the server and start again
This commit is contained in:
+2
-1
@@ -1,7 +1,8 @@
|
||||
from snakes.TemplateSnake import TemplateSnake
|
||||
from datetime import datetime
|
||||
|
||||
class GameBoard:
|
||||
def __init__(self, game_id:str, width:int, height:int, ruleset:dict, source:str, map:str, snake_class):
|
||||
def __init__(self, game_id:str, width:int, height:int, ruleset:dict, source:str, map:str, snake_class:TemplateSnake):
|
||||
self.id = game_id
|
||||
self.width = width
|
||||
self.height = height
|
||||
|
||||
Reference in New Issue
Block a user