Crapette: a craftier AI (reserve-first, loads you, rearranges houses)

* cg-crapette.el (cg-crap--ai-unload-move): scored move choice preferring
new priority chain; raise the loop guard.  Update the commentary.
* test/card-games-tests.el: add cgt-crap-ai-enabling, cgt-crap-ai-loads-you.
* NEWS: note the smarter opponent.
This commit is contained in:
Corwin Brust 2026-07-01 05:22:47 -05:00
parent fdccde0634
commit b06ca3362b
3 changed files with 80 additions and 15 deletions

6
NEWS
View file

@ -71,6 +71,12 @@ the mouse as well as the keyboard.
"Next hand" button and the hand fan.
- Live multiplayer 500 over TCP (~M-x cg-bid-host~ / ~M-x cg-bid-join~).
** A craftier Russian Bank (Crapette) opponent
- The computer now empties its reserve first (the pile you must clear to
win), prefers loading its cards onto you, and -- new -- looks a move
ahead to rearrange the houses when doing so frees a card it could not
otherwise place.
** Playtest fixes
- ~q~ now returns to the ~M-x card-game~ menu from any game, instead of
burying the buffer and leaving the previous buffer on screen.