Updated functions to take ints related to a player's number instead of the player object itself.