Browse Source

add GridGUI class

main
fdai4581 2 years ago
parent
commit
8ccd5739eb
  1. 2
      .idea/hellsgamers.iml
  2. 15
      src/main/java/BattleShip/GridGUI.java

2
.idea/hellsgamers.iml

@ -8,6 +8,8 @@
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test_" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test_/java" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />

15
src/main/java/BattleShip/GridGUI.java

@ -0,0 +1,15 @@
package BattleShip;
public class GridGUI {
int[] testLocations;
int numOfGuesses = 0;
int rows;
int columns;
public GridGUI(int r, int c) {
rows = r;
columns = c;
}
}
Loading…
Cancel
Save