moved class to logic.player.
added check for resigned players in incrementIndex()