You are having problems with the Scanner class's methods.
See: Java Scanner not working, difference between next() and nextLine() | Rommel Rico
You need to call nextLine() after the call to...
Type: Posts; User: Norm
You are having problems with the Scanner class's methods.
See: Java Scanner not working, difference between next() and nextLine() | Rommel Rico
You need to call nextLine() after the call to...
Where and how is that shown?
What is the purpose of the folllowing statement:
numberOfPlayers = (input.nextInt() + 1);