Removing duplicate chess