diff --git a/assignments/src/MV3500Cohort2024JulySeptember/homework3/Smith/ExampleSimulationProgram.java b/assignments/src/MV3500Cohort2024JulySeptember/homework3/Smith/ExampleSimulationProgram.java index b37dde9fee3354a5bb4fb5d7624eebcd160f1440..26419da18ec013dfd0790866944c8d64b44c0020 100644 --- a/assignments/src/MV3500Cohort2024JulySeptember/homework3/Smith/ExampleSimulationProgram.java +++ b/assignments/src/MV3500Cohort2024JulySeptember/homework3/Smith/ExampleSimulationProgram.java @@ -17,7 +17,7 @@ public class ExampleSimulationProgram { // Constants for the Battleship game private static final int GRID_SIZE = 10; // 10x10 grid for Battleship - private static final int MAX_TURNS = 200; // Limit turns to avoid infinite games + private static final int MAX_TURNS = 100; // Limit turns to avoid infinite games // Grids for each player private char[][] player1Grid = new char[GRID_SIZE][GRID_SIZE]; @@ -28,7 +28,7 @@ public class ExampleSimulationProgram { // Ship positions (simple example positions for each player's ships) private final int[][] player1Ships = {{0, 0}, {0, 1}, {0, 2}}; // Positions for player 1's ships - private final int[][] player2Ships = {{2, 5}, {2, 6}, {2, 7}}; // Positions for player 2's ships + private final int[][] player2Ships = {{5, 5}, {5, 6}, {5, 7}}; // Positions for player 2's ships // DIS utilities private String descriptor = this.getClass().getSimpleName();