Skip to content

Comments

stop playing when either player has an empty hand.#7

Open
nlitsme wants to merge 1 commit intomatthewmayer:masterfrom
nlitsme:stop-when-either-has-empty-hand
Open

stop playing when either player has an empty hand.#7
nlitsme wants to merge 1 commit intomatthewmayer:masterfrom
nlitsme:stop-when-either-has-empty-hand

Conversation

@nlitsme
Copy link

@nlitsme nlitsme commented Mar 9, 2025

bugfix: in kleber1999 play would continue even though one player had already played all its cards.

@nlitsme
Copy link
Author

nlitsme commented Mar 9, 2025

not 100% sure about this. ... but i thought it was odd.

@matthewmayer
Copy link
Owner

I need to double check this but having an empty hand doesn't mean immediate end of game right?

Like, if I play my final card and it's a queen , then play continues until my opponent puts down up to 2 more cards. If they don't put down a court card, I win the trick and so the game will continue.

@nlitsme
Copy link
Author

nlitsme commented Mar 11, 2025

The game rules seem a bit ambiguous, wikipedia:"When a single player has all of
the cards in the deck in their stack, they have won. ", while others say: "If a player runs out of cards, he loses". in the M.Paulhus paper of 1999, both rules are mentioned: "Any player who runs out of cards, drops out of the game. If this happens during the contribution process, then the obligation to complete the contribution passes to the next player. The winner is theplayer who accumulates the whole deck.".

@nlitsme
Copy link
Author

nlitsme commented Mar 11, 2025

I was thinking, with the 'wikipedia' rules, the game can stall, when a penalty has not yet been fully paid, and both players have empty hands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants