diff --git a/src/main/java/BattleShip/AIGridGUI.java b/src/main/java/BattleShip/AIGridGUI.java index ddcae2f..8918acd 100644 --- a/src/main/java/BattleShip/AIGridGUI.java +++ b/src/main/java/BattleShip/AIGridGUI.java @@ -24,7 +24,7 @@ public class AIGridGUI extends JPanel { boolean[] cellsKilled; boolean randomGuess = true; int f; // it is the first - Color Red = new Color(100, 0, 0); // + Color darkRed = new Color(100, 0, 0); // Border loweredBevel = BorderFactory.createLoweredBevelBorder(); Border raisedbevel = BorderFactory.createRaisedBevelBorder(); Border defaultBorder; @@ -353,7 +353,7 @@ public class AIGridGUI extends JPanel { for(BSButton bu : buttons) { //Mark killed cells. if(bu.getCellContents() == s) { - bu.setBackground(Red); + bu.setBackground(darkRed); cellsKilled[bu.getGridLocation()] = true; } //Mark if any cell remains that has been hit but not yet killed. If so, lock onto that cell.