The top number is the road team's score, the second number down is the home team's score, the third box down is the count, the fourth box down is the inning, and the bottom box is the outs. Sorry, but if there are extra innings, only the first nine innings will be shown in the box score.
thanks to @BananaIV for some of the code