whiterook6/Faceoff

Add debugging

whiterook6 opened this issue · 1 comments

In the console, print

  • memory footprint
  • sizes of images
  • which images were loaded
  • resulting scores
  • how many victors, losers

etc.

according to stack (http://stackoverflow.com/questions/17374743/how-can-i-get-the-memory-that-my-java-program-uses-via-javas-runtime-api):

Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()

is the code to use.