Rearranged pet.run() and created gameBoard.getGameState() and gameBoard.updateMessage()