Rename some variable names and methods to be more descriptive.
Descriptive names means you need fewer comments.
playing -> continuePlaying
input -> numSticks
switchToNextPlayer -> advanceToNextPlayer (this wording works better if multiple players)