Bugfix on announceWinner and numberOfMoves function created