fix(server): valid full test

parent 9d15fc59
......@@ -76,11 +76,8 @@ def all_options() -> List[Hand]:
hands.extend(singles)
for b in brelans:
for p in pairs:
if any([c in b.cards for c in p.cards]): # Invalid full
print(f"Invalid full: {b.cards}-{p.cards}")
else:
if not any([c in b.cards for c in p.cards]): # Valid full
hands.append(Hand([*b.cards, *p.cards]))
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