modified tie game conditions, now working