prevent play dealing duplicate cards. Add debug logging for rank calcuation