Player Controls

I used XInput for player controls, it's a better way of using Xbox
controllers with unity than the Input manager. set the playerNum to
whichever controller number should control the player, 0 will default to
keyboard controls. I also set up collision with the boundaries and mid
line.
Updated player prefab