Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
80e3c23e
Commit
80e3c23e
authored
9 months ago
by
owner
Browse files
Options
Downloads
Patches
Plain Diff
Homework 2
parent
55ac65bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
+2
-2
2 additions, 2 deletions
...rt2024JulySeptember/homework2/Lennon/LennonHW2Client.java
with
2 additions
and
2 deletions
assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
+
2
−
2
View file @
80e3c23e
...
@@ -100,8 +100,7 @@ public class LennonHW2Client
...
@@ -100,8 +100,7 @@ public class LennonHW2Client
long
timeLength
=
endTime
-
startTime
;
long
timeLength
=
endTime
-
startTime
;
System
.
out
.
println
(
": message received from server:"
+
serverMessage
);
System
.
out
.
println
(
": message received from server:"
+
serverMessage
);
System
.
out
.
println
(
": time to play="
+
timeLength
);
System
.
out
.
println
(
": time to play="
+
timeLength
);
System
.
out
.
println
(
"======================================================="
);
System
.
out
.
println
(
"Want to go again? Y/N"
);
System
.
out
.
println
(
"Want to go again? Y/N"
);
...
@@ -111,6 +110,7 @@ public class LennonHW2Client
...
@@ -111,6 +110,7 @@ public class LennonHW2Client
System
.
out
.
println
(
response
.
toUpperCase
());
//for debug only. delete later
System
.
out
.
println
(
response
.
toUpperCase
());
//for debug only. delete later
}
while
(
play
);
}
while
(
play
);
System
.
out
.
println
(
"GOODBYE"
);
System
.
out
.
println
(
"GOODBYE"
);
System
.
out
.
println
(
"======================================================="
);
System
.
out
.
println
(
LennonHW2Client
.
class
.
getName
()
+
" complete"
);
System
.
out
.
println
(
LennonHW2Client
.
class
.
getName
()
+
" complete"
);
// main method now exits
// main method now exits
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment