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