tic-far-toe/GameLogic.py

35 lines
737 B
Python
Raw Normal View History

from GameMap import *
from Player import *
2022-07-25 10:33:08 +00:00
class GameLogic():
def __init__(self, gameMap, playerList, winRowLength, individualMoves):
self.gameMap = gameMap
self.playerList = playerList
self.winRowLength = winRowLength
self.individualMoves = individualMoves
self.time = 0 # in seconds
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 self.time
def reset_time(self):
self.time = 0
def get_score(self):
return self.score