remove useless import
This commit is contained in:
parent
8abffa2f71
commit
eeea06609b
@ -44,7 +44,7 @@ class TicTacToe
|
|||||||
}
|
}
|
||||||
else if (messageData.detail == "game_start")
|
else if (messageData.detail == "game_start")
|
||||||
this.game.started = true;
|
this.game.started = true;
|
||||||
else
|
else if (messageData.targetMorpion && messageData.targetCase)
|
||||||
{
|
{
|
||||||
this.map[messageData.targetMorpion][messageData.targetCase] = (this.sign == "x") ? 1 : 0;
|
this.map[messageData.targetMorpion][messageData.targetCase] = (this.sign == "x") ? 1 : 0;
|
||||||
this.printSign(messageData.targetMorpion, messageData.targetCase, (this.sign == "x") ? "o" : "x");
|
this.printSign(messageData.targetMorpion, messageData.targetCase, (this.sign == "x") ? "o" : "x");
|
||||||
|
@ -22,7 +22,6 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
from .objects.tictactoe.TicTacToeGame import TicTacToeGame
|
from .objects.tictactoe.TicTacToeGame import TicTacToeGame
|
||||||
from .objects.tictactoe.TicTacToeSpectator import TicTacToeSpectator
|
from .objects.tictactoe.TicTacToeSpectator import TicTacToeSpectator
|
||||||
from .objects.tictactoe.TicTacToePlayer import TicTacToePlayer
|
|
||||||
|
|
||||||
game_manager: GameManager = GameManager()
|
game_manager: GameManager = GameManager()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user