} else if (event instanceof ServerCompletedMatchEvent) {
System.out.println("State[" + nState[0] + "] Full (Terminal): " + oldContents);
System.out.println("Match information: " + theMatch);
System.out.println("Goals: " + ((ServerCompletedMatchEvent)event).getGoals());
try {
System.out.println("Match information cryptographically signed? " + SignableJSON.isSignedJSON(new JSONObject(theMatch.toJSON())));
System.out.println("Match information cryptographic signature valid? " + SignableJSON.verifySignedJSON(new JSONObject(theMatch.toJSON())));
} catch (JSONException je) {
je.printStackTrace();
}
System.out.println("Game over.");