Skip to content
Snippets Groups Projects
Commit 80e3c23e authored by owner's avatar owner
Browse files

Homework 2

parent 55ac65bc
No related branches found
No related tags found
No related merge requests found
...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment