Skip to content
Snippets Groups Projects

fixed the test cases and main code

Merged jnepali requested to merge bugfix/1-fix-assignment-errors into main
2 files
+ 38
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -5,14 +5,14 @@ import java.awt.*;
/** Our main class that launches the app. */
public class Main {
public static void main(String... args) throws Exception {
JFrame mainWindow = new JFrame("Dots and Boxes");
JFrame mainWindow = new JFrame("Welcome to Dots and Boxes Games");
DotsAndBoxesGrid grid = new DotsAndBoxesGrid(15, 8, 2);
// FIXME: Update this label to show your name and student number
JLabel label = new JLabel("Name: (Your name and student number goes here)");
JLabel label = new JLabel("Name: Jaya Nepali ");
JPanel borderPane = new JPanel(new BorderLayout());
borderPane.add(label, BorderLayout.SOUTH);
@@ -29,4 +29,4 @@ public class Main {
mainWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}
}
\ No newline at end of file
Loading