Added compare() and checkForWin() in the GameBase - will be used to check if a move leads to a win