Add link to project page in README
Update README file to match website
Add build CI file and gitignore
Visit the project page on humaidq.ae
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.
The following packages must be installed on your system.
This program is written by Humaid AlQassimi, and is distributed under the MIT license.
$ go get -u git.sr.ht/~humaid/cowchina
$ go install git.sr.ht/~humaid/cowchina
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.
Input | Description |
---|---|
ca |
Ace of Clubs |
da |
Ace of Diamonds |
ha |
Ace of Hearts |
sa |
Ace 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} |
z |
Black Joker |
x |
Red Joker |
{enter} |
PASS |
{tab} |
Go back (TODO) |
:<id> |
Jump to player (TODO) |