Updated gamemanager to handle multiple players