If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Destin. Thank You man. Thats i really what i was looking for! But some parts i dont get though...
1)Can you explain briefly each Static Public, what it does ( i get it but i want to make sure )
2)System.out.println("PLAYER " + ((turn - 1) % 2 + 1) + " WINS!!"); Dont get the calculations inside the brackets)
3) If its not hard for you, state all methods that you have used

1. Can you explain briefly each Static Public, what it does
public makes it so other classes can access the methods
static is a bit harder to explain, but everything in the wrapper class needs to be static.

2.System.out.println("PLAYER " + ((turn - 1) % 2 + 1) + " WINS!!"); Dont get the calculations inside the brackets)
Yeah, it's ugly. Basically, the turn was just incremented, so we're one over. So we need to subtract 1. Then, % 2 will give us the remainder (0 if player 1 wins, 1 if player 2 wins) then, we need to add 1 so it will be 1 or 2 instead of 0 or 1.

Thank you again, but what if the game is a Tie? This script doesn't have a Tie
I am sorry fot these stupid questions, but i really want to understand the prog..i have a Q if you dont mind answering them..