Humaid Alqasimi

< Go back


Clone with HTTPS:

Written in Go, licensed under the MIT license

Mailing list: ~humaid/ (subscribe, archive) reference status

1. Description

CowChina is a logger for a variant of the Spades playing card game. It logs the moves, invalid cards (cheating) and winners.

This could only be used with our variant of Spades, called Hokm.

2. Requirements

The following packages must be installed on your system.

3. Copying and contributing

This program is written by Humaid AlQassimi, and is distributed under the MIT license.

4. Download and install

$ go get -u
$ go install

5. Usage

To run the program:

$ cowchina

To begin, the names of the four players, the highest bid, bidding suit chosen, and highest bidding team is entered.

Then the each card is inputed. Below is a cheat sheet of possible inputs.

5.1. Input cheat sheet

caAce of Clubs
daAce of Diamonds
haAce of Hearts
saAce of Spades
c{6-9}Clubs 6 to 9
s{6-9}Diamonds 6 to 9
h{6-9}Hearts 6 to 9
s{6-9}Spades 6 to 9
c{j,q,k}Clubs {jack, queen, king}
d{j,q,k}Diamonds {jack, queen, king}
h{j,q,k}Hearts {jack, queen, king}
s{j,q,k}Spades {jack, queen, king}
zBlack Joker
xRed Joker
{tab}Go back (TODO)
:<id>Jump to player (TODO)