@ -80,6 +80,11 @@ public class GridGUI {
public boolean getEndGame() {
return endGame;
}
public void setEndGame() {
for(JButton j : buttons){
j.setEnabled(false);
public class MyCellListener implements ActionListener {
public void actionPerformed(ActionEvent a) {
if(!clicked) {