@ -120,6 +120,10 @@ public class TicTacToeGame implements ActionListener {
{
oWin(0, 1, 2);
}
else if ((bton[0].getText() == "O") && (bton[3].getText() == "O") && (bton[6].getText() == "O"))
oWin(0, 3, 6);
//method if player 0 wins
private void oWin(int i, int i1, int i2) {