Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Assessment 2
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
Ugochukwu Joseph Ekeh
Assessment 2
Compare revisions
be41faa35f99c9a83c8ba3117b64e92d6e2f1764 to 95b234461c504af45b3085b6476f4ff230fd1229
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
uekeh/assessment-2
Select target project
No results found
95b234461c504af45b3085b6476f4ff230fd1229
Select Git revision
Swap
Target
uekeh/assessment-2
Select target project
uekeh/assessment-2
1 result
be41faa35f99c9a83c8ba3117b64e92d6e2f1764
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
updating gradle version
· 76ad3c71
Ugochukwu Joseph Ekeh
authored
1 year ago
76ad3c71
committing to default file
· 512c722e
Ugochukwu Joseph Ekeh
authored
1 year ago
512c722e
Name and student number added in the application
· 95b23446
Ugochukwu Joseph Ekeh
authored
1 year ago
95b23446
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
build.gradle
+5
-0
5 additions, 0 deletions
build.gradle
src/main/java/dotsandboxes/Main.java
+1
-1
1 addition, 1 deletion
src/main/java/dotsandboxes/Main.java
src/test/java/dotsandboxes/DotsAndBoxesGridTest.java
+1
-1
1 addition, 1 deletion
src/test/java/dotsandboxes/DotsAndBoxesGridTest.java
with
7 additions
and
2 deletions
build.gradle
View file @
95b23446
...
...
@@ -7,6 +7,7 @@ buildscript {
plugins
{
id
'application'
id
'jacoco'
}
group
'org.example'
...
...
@@ -44,3 +45,7 @@ task fatJar(type: Jar) {
from
{
configurations
.
runtimeClasspath
.
collect
{
it
.
isDirectory
()
?
it
:
zipTree
(
it
)
}
}
with
jar
}
jacocoTestReport
{
dependsOn
test
// tests are required to run before generating the report
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/java/dotsandboxes/Main.java
View file @
95b23446
...
...
@@ -12,7 +12,7 @@ public class Main {
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:
Ugochukwu Ekeh 220264254
"
);
JPanel
borderPane
=
new
JPanel
(
new
BorderLayout
());
borderPane
.
add
(
label
,
BorderLayout
.
SOUTH
);
...
...
This diff is collapsed.
Click to expand it.
src/test/java/dotsandboxes/DotsAndBoxesGridTest.java
View file @
95b23446
This diff is collapsed.
Click to expand it.