add: tictactoe: timer and afk handling
This commit is contained in:
@ -47,6 +47,7 @@ class TicTacToeGame(AGame):
|
||||
self._map[newmove.get("targetMorpion")][newmove.get("targetCase")] = newmove.get("sign")
|
||||
player.currentMorpion = int(newmove.get("targetCase"))
|
||||
self.changeTurn()
|
||||
self.time = time.time()
|
||||
return True
|
||||
|
||||
return False
|
||||
|
Reference in New Issue
Block a user