@ -91,6 +91,12 @@ public class TicTacToeGame implements ActionListener {
{
xWin(0, 4, 8);
}
else if ((bton[0].getText() == "X") && (bton[3].getText() == "X") && (bton[6].getText() == "X"))
xWin(0, 3, 6);
//method if player X wins