fix(server): valid full test

parent 9d15fc59
...@@ -76,11 +76,8 @@ def all_options() -> List[Hand]: ...@@ -76,11 +76,8 @@ def all_options() -> List[Hand]:
hands.extend(singles) hands.extend(singles)
for b in brelans: for b in brelans:
for p in pairs: for p in pairs:
if any([c in b.cards for c in p.cards]): # Invalid full if not any([c in b.cards for c in p.cards]): # Valid full
print(f"Invalid full: {b.cards}-{p.cards}")
else:
hands.append(Hand([*b.cards, *p.cards])) hands.append(Hand([*b.cards, *p.cards]))
return hands return hands
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment