fix circular import errors so the server and start again
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
from server.GameBoard import GameBoard
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from server.GameBoard import GameBoard
|
||||
|
||||
class Dataset:
|
||||
VALID_MOVES = {"up", "down", "left", "right"}
|
||||
|
||||
def __init__(self, game_board:GameBoard):
|
||||
def __init__(self, game_board:'GameBoard'):
|
||||
self.game_board = game_board
|
||||
|
||||
def _did_we_win(self):
|
||||
|
||||
Reference in New Issue
Block a user