adds test for full board ending game and code for passing test
extracts EndgameManager class from Game class
extracts EndgameManager class from Game class; refactors tests to mock manager to prevent infinite loops