i have problem with the percentage_games and percentage_games1 variable
it is not updating correctly as when both X and O have 1won 1 game each it should show percentage as 50 but it is showing 100 and 0
Keep in mind that the division operator denotes integer division if both operands are integers, and floating-point division otherwise. Yours is the first case - both of your operands are integers (e.g. 1/2 = 0 by integer division), hence the results you get.
The quieter you are, the more you are able to hear.
I can't find a "showStatus()" method in your code.
And, is it your intention to run "TicTacToe" as an applet?
A remark: you are using expressions like "if (letter == "X") {...}".
Since you are using string literals here, you might get away with this. But you should always use "if (letter.equals(someOtherString)) {...}".
There are three kinds of actuaries: those who can count, and those who can't.
What are you saying? I thought you said that Santa gave you that. And this tiny ad: