Modifications to take end of game into account without limiting turns.