Refactored code to process winner

Refactored code used to process winner in the GameManager