Added debug logging and print game board as log