Add nine games: Go Fish, Old Maid, Cribbage, Scopa, Casino,
Euchre, Pitch, Briscola, and Spite & Malice Five new files, each reusing or extending an existing engine. * cg-match.el: Go Fish and Old Maid, matching games on a shared helper set (completes the original wishlist). * cg-cribbage.el: two-handed Cribbage to 121 -- the crib, the cut, pegging, and a full show scorer (fifteens, pairs, runs, flush, nobs). * cg-scopa.el: a capture-by-sum engine driving Scopa (40-card, sette bello, primiera, scopas) and Casino (pairs and sums, big/little casino, aces, sweeps). Casino omits builds. * cg-trick-ext.el: Euchre (24-card with both bowers), Auction Pitch (bid, pitch sets trump, High/Low/Jack/Game), and Briscola (fixed trump, no follow), as subclasses of the cg-trick engine. * cg-spite.el: Spite & Malice, a competitive patience to empty the goal pile onto shared Ace-to-Queen centre piles; Kings are wild. Wire all nine commands into the card-game chooser, extend the Makefile EL list, and add README sections. Add ten ERT tests covering each game's engine and a full AI-driven game; the suite is now 107/107 and every file byte-compiles cleanly. New files at Version 1.0.60 to match the tree; post-1.0.60 work toward 1.0.90.
This commit is contained in:
parent
86c44a362a
commit
905d5989c2
9 changed files with 2421 additions and 2 deletions
31
README.org
31
README.org
|
|
@ -74,6 +74,37 @@ with its command.
|
|||
and then a foot, build books of a rank with Twos and Jokers wild, and go
|
||||
out once your side has completed two of them.
|
||||
|
||||
** Matching
|
||||
- ~cg-go-fish~ -- Go Fish. Ask another player for a rank you hold;
|
||||
collect all four to lay down a book, and make the most books.
|
||||
- ~cg-old-maid~ -- Old Maid. One Queen is set aside; discard pairs and
|
||||
draw blind from your neighbour, and do not be left with the odd Queen.
|
||||
|
||||
** Pegging
|
||||
- ~cg-cribbage~ -- Cribbage. Lay two cards to the crib, cut a starter,
|
||||
peg toward 31, then count fifteens, pairs, runs, flushes, and his nobs.
|
||||
Two-handed to 121.
|
||||
|
||||
** Capturing
|
||||
- ~cg-scopa~ -- Scopa. A 40-card deck; capture table cards by value and
|
||||
sweep the board for a scopa. Score cards, coins, the sette bello, and
|
||||
primiera to 11.
|
||||
- ~cg-casino~ -- Casino. The full deck; capture by pairs and sums and
|
||||
score cards, spades, the casinos, and aces to 21.
|
||||
|
||||
** More trick-taking
|
||||
- ~cg-euchre~ -- Euchre. A 24-card deck with the two bowers; order up or
|
||||
call trump and take three of five tricks. Partnership to 10.
|
||||
- ~cg-pitch~ -- Auction Pitch. Bid for the pitch; your first lead sets
|
||||
trump. Score High, Low, Jack, and Game; first to 7.
|
||||
- ~cg-briscola~ -- Briscola. A fixed trump turned from the deal and no
|
||||
obligation to follow suit; capture the Aces and Threes. Partnership to
|
||||
61 of the 120 points.
|
||||
|
||||
** Climbing patience
|
||||
- ~cg-spite~ -- Spite & Malice. Race the computer to empty your goal
|
||||
pile onto shared centre piles that build Ace to Queen; Kings are wild.
|
||||
|
||||
* TODO
|
||||
- [X] make the suit symbols customizable (~cg-symbols~) and obey them
|
||||
- [ ] a Texinfo manual
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue