tic-far-toe/GameLogic.py
2022-07-25 18:16:15 +03:00

36 lines
784 B
Python

from datetime import datetime, time
from GameMap import *
from Player import *
class GameLogic():
def __init__(self, gameMap, playerList, winRowLength, individualMoves):
self.gameMap = gameMap
self.playerList = playerList
self.winRowLength = winRowLength
self.individualMoves = individualMoves
self.score = 0
self.wait_for_input()
def wait_for_input(self):
pass
def check_for_win(self, playerList):
for player in playerList:
pass
def get_time(self):
return str(datetime.now() - self.startTime)
def reset_time(self):
self.startTime = datetime.now()
def get_score(self):
return self.score