You have not given sufficient information to give your question's answer such as you have to show the output and class Player.
This is the output which i get even after adding the && condition for all three players :
STARTING GAME
I AM THINKING OF A NUMBER FROM 0 TO 9
NUMBER TO GUESS IS: 4
P1 IS GUESSING NUMBER AS: 5
P2 IS GUESSING NUMBER AS: 0
P3 IS GUESSING NUMBER AS: 2
try again
NUMBER TO GUESS IS: 4
P1 IS GUESSING NUMBER AS: 6
P2 IS GUESSING NUMBER AS: 7
P3 IS GUESSING NUMBER AS: 5
try again
NUMBER TO GUESS IS: 4
P1 IS GUESSING NUMBER AS: 4
P2 IS GUESSING NUMBER AS: 4
P3 IS GUESSING NUMBER AS: 6
WE HAVE A WINNER
THE WINNER IS P1 AND P2 AND P3 // this is not correct
(before i even got only one player as winner for 2 players guessing the correct number)
Here is the player class:
PLEASE HELP...