@ -145,6 +145,11 @@ public class TicTacToeGame implements ActionListener {
bton[i1].setBackground(Color.PINK);
bton[i2].setBackground(Color.PINK);
for (int j = 0; j < 9; j++)
{
bton[j].setEnabled(false);
}
textfield.setText("Player O Wins");
//method if player X wins