Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DotsAndBoxs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jnepali
DotsAndBoxs
Merge requests
!1
fixed the test cases and main code
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fixed the test cases and main code
bugfix/1-fix-assignment-errors
into
main
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
jnepali
requested to merge
bugfix/1-fix-assignment-errors
into
main
10 months ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
a81670d4
1 commit,
10 months ago
2 files
+
38
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/main/java/dotsandboxes/Main.java
+
5
−
5
Options
@@ -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