prints board when game is over