added an addPlayer method to the view model