CORRECTIONS: Added check for win and board reset.