game: add: backend input verification
This commit is contained in:
@ -1,4 +1,12 @@
|
||||
from games.objects.AGame import AGame
|
||||
|
||||
from ..APlayer import APlayer
|
||||
|
||||
from channels.generic.websocket import WebsocketConsumer
|
||||
|
||||
class TicTacToePlayer(APlayer):
|
||||
pass
|
||||
def __init__(self, user_id: int, socket: WebsocketConsumer, game: AGame, sign):
|
||||
super().__init__(user_id, socket, game)
|
||||
self.sign = sign
|
||||
self.currentMorpion = 4
|
||||
self.timestamp = None
|
Reference in New Issue
Block a user