Calculate and render score