[Home]HeartsCommandSet

HomePage | RecentChanges | Preferences

User entry in the Hearts application falls into two classes, chat dialogue or card playing commands. Any string that begins with a single quote or double quote is displayed at the end of the chat window. Strings without the leading quotes are considered to be card playing commands as described below. If an improper command is issued, the application ignores it. Commands are case insensitive.


Command set for the Hearts application...

deal - deal 13 cards to each player

pass card,card,card to {N | E | W} - pass three cards to opposite (N), right (E), or left (W) player

accept - accept cards that are passed to you

play card - play the specified card on the trick

take - take the captured trick

showCards - shows all the cards in captured tricks. Use only after a round is complete, otherwise your fellow players will call you a cheat!

where card = {2-9 | X | J | Q | K | A}{c | d | h | s}

              (ten jack queen king ace)  (club diamond hearts spades)

HomePage | RecentChanges | Preferences
Edit text of this page | View other revisions
Last edited July 7, 2005 7:46 am by 65.121.3.22
Search: