fertig-classic-games/assets/images
Brian Fertig 4fcae92e59 feat(civ): AI-initiated diplomacy with frustration escalation
Introduce active diplomacy where rival leaders approach the player with
requests, demands, trades, and gifts rather than passively waiting.

New CivilizationDiplomacy.js module handles:
- 9 request kinds (joinWar, breakTreaty, borderUltimatum, demandGold,
  demandTech, techTrade, ceasefire, peace, alliance) with initiative
  tiers so urgent calls to arms aren't drowned out by filler offers
- Cooldowns per (leader, target, kind) plus a per-leader gap so a
  leader can't spam different requests to bypass rate limits
- Frustration grudge (0-100) raised by refusals, decaying each turn
  and dragging attitude toward hostility through the ordinary war path
- Escalation: frustrated leaders demand compensation, then renounce
  treaties at breaking point, with ordinary hostility finishing the job
- Border ultimatum promises checked when pledges expire (double penalty
  for broken word)
- Unprompted gold/tech gifts from leaders with high attitude
- Staleness validation so requests the world invalidated are dropped
- AI-to-AI requests resolve immediately through the same pipeline

UI changes:
- AI requests queued on state.pendingRequests, presented via audience
  popup at the start of the human turn (one per turn, configurable)
- Diplomacy screen shows ACCEPT/REFUSE with consequence hints until
  answered; unanswered requests lapse with half-weight penalties
- New event types: treatyRenounced, pledgeBroken/pledgeKept, aiGift
- Leader dialogue for demands, refusals, gifts, and renouncements
- Tetris Attack menu gets a title art backdrop

Data/infra:
- diplomacyRequests tuning in civilization-rules.json (thresholds,
  cooldowns, attitude weights, per-request config)
- Frustration, requestCooldown, lastRequestTurn, pledges fields on
  civ state — all backward-compatible with old saves
- Full verification suite covering eligibility, resolution, cooldowns,
  frustration arc, serialization, and fuzz testing
2026-07-23 16:26:15 -06:00
..
advancewars feat(tetrisattack): add Panel de Pon-style tile clear animation and update assets 2026-07-22 18:40:26 -06:00
civilization feat(civilization): add japanese city theme and improve world generation 2026-07-22 23:48:41 -06:00
mahjong Major Port 2026-06-28 19:27:29 -06:00
originals refactor: reduce kart rotation frames from 16 to 8 and add racer artwork 2026-07-17 21:38:18 -06:00
peggle feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-12 15:29:55 -06:00
shift Major Port 2026-06-28 19:27:29 -06:00
slots Major Port 2026-06-28 19:27:29 -06:00
starcontrol refactor: improve Star Control ship rendering and ship picker UX 2026-07-15 11:45:08 -06:00
superkart feat: update superkart icons and add tetrisattack background frames 2026-07-21 20:54:31 -06:00
tetrisattack feat(civ): AI-initiated diplomacy with frustration escalation 2026-07-23 16:26:15 -06:00
tutorial-images Major Port 2026-06-28 19:27:29 -06:00
azul-tiles.png feat: add Azul board game with tutorial videos and modal fix 2026-06-29 20:49:48 -06:00
azul-tiles.psd feat: add Azul board game with tutorial videos and modal fix 2026-06-29 20:49:48 -06:00
background-casino.png Major Port 2026-06-28 19:27:29 -06:00
background-jewelquest.png Major Port 2026-06-28 19:27:29 -06:00
background-jewelquest.psd Major Port 2026-06-28 19:27:29 -06:00
background-menu.png feat(tetris-attack): smooth panel fall animation and settling frame 2026-07-20 19:21:08 -06:00
background-room.png feat(tetris-attack): smooth panel fall animation and settling frame 2026-07-20 19:21:08 -06:00
balatro-artwork.png feat(balatro): add CRT post-processing, rounded art rendering, and UI improvements 2026-07-10 20:50:06 -06:00
balatro-artwork.psd feat(balatro): add CRT post-processing, rounded art rendering, and UI improvements 2026-07-10 20:50:06 -06:00
balatro-bossicons.png Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-bossicons.psd Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-deckbacks.png Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-deckbacks.psd Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-packs.png feat(balatro): add CRT post-processing, rounded art rendering, and UI improvements 2026-07-10 20:50:06 -06:00
balatro-packs.psd feat(balatro): add CRT post-processing, rounded art rendering, and UI improvements 2026-07-10 20:50:06 -06:00
balatro-planets.png refactor: lazy-load per-game assets and enhance Balatro visuals 2026-07-11 08:40:23 -06:00
balatro-planets.psd refactor: lazy-load per-game assets and enhance Balatro visuals 2026-07-11 08:40:23 -06:00
balatro-spectrals.png Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-spectrals.psd Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-tarots.png feat(balatro): add CRT post-processing, rounded art rendering, and UI improvements 2026-07-10 20:50:06 -06:00
balatro-tarots.psd feat(balatro): add CRT post-processing, rounded art rendering, and UI improvements 2026-07-10 20:50:06 -06:00
balatro-vouchers.png Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
balatro-vouchers.psd Balatro All remaining Icons 2026-07-11 13:07:56 -06:00
cardbacks.png Major Port 2026-06-28 19:27:29 -06:00
cardbacks.psd Major Port 2026-06-28 19:27:29 -06:00
catan-pirate.png Major Port 2026-06-28 19:27:29 -06:00
catan-robber.png Major Port 2026-06-28 19:27:29 -06:00
catan-special-cards.png Major Port 2026-06-28 19:27:29 -06:00
catan-special-cards.psd Major Port 2026-06-28 19:27:29 -06:00
catancards.png Major Port 2026-06-28 19:27:29 -06:00
catancards.psd Major Port 2026-06-28 19:27:29 -06:00
catantiles.png Major Port 2026-06-28 19:27:29 -06:00
catantiles.psd Major Port 2026-06-28 19:27:29 -06:00
dominion-cards.psd Major Port 2026-06-28 19:27:29 -06:00
dominion-prosperity.png Major Port 2026-06-28 19:27:29 -06:00
dominion-prosperity.psd Major Port 2026-06-28 19:27:29 -06:00
dominion-tokens.png Major Port 2026-06-28 19:27:29 -06:00
dominion-tokens.psd Major Port 2026-06-28 19:27:29 -06:00
dominioncards.png Major Port 2026-06-28 19:27:29 -06:00
dungeonboss-bosses.png feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-bosses.psd feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-deckbacks.png Dungeon Boss item positioning 2026-07-04 12:34:37 -06:00
dungeonboss-deckbacks.psd Dungeon Boss item positioning 2026-07-04 12:34:37 -06:00
dungeonboss-heroes.png feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-heroes.psd feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-icons.png More adjustments 2026-07-04 17:48:34 -06:00
dungeonboss-icons.psd More adjustments 2026-07-04 17:48:34 -06:00
dungeonboss-rooms.png feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-rooms.psd feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-spells.png feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
dungeonboss-spells.psd feat(dungeonboss,swdbg): add hover-to-zoom card previews and update art assets 2026-07-03 18:21:44 -06:00
forbiddenisland-cards.png Major Port 2026-06-28 19:27:29 -06:00
forbiddenisland-cards.psd Major Port 2026-06-28 19:27:29 -06:00
forbiddenisland-tiles.png Major Port 2026-06-28 19:27:29 -06:00
forbiddenisland-tiles.psd Major Port 2026-06-28 19:27:29 -06:00
game-icons.png feat(tetris-attack): smooth panel fall animation and settling frame 2026-07-20 19:21:08 -06:00
game-icons.psd feat(tetris-attack): smooth panel fall animation and settling frame 2026-07-20 19:21:08 -06:00
gofish-cards.png Major Port 2026-06-28 19:27:29 -06:00
gofish-cards.psd Major Port 2026-06-28 19:27:29 -06:00
jello-items.png Major Port 2026-06-28 19:27:29 -06:00
jello-items.psd Major Port 2026-06-28 19:27:29 -06:00
labyrinth-cards.png Major Port 2026-06-28 19:27:29 -06:00
labyrinth-cards.psd Major Port 2026-06-28 19:27:29 -06:00
labyrinth-tiles.png Major Port 2026-06-28 19:27:29 -06:00
labyrinth-tiles.psd Major Port 2026-06-28 19:27:29 -06:00
labyrinth-treasures.png Major Port 2026-06-28 19:27:29 -06:00
labyrinth-treasures.psd Major Port 2026-06-28 19:27:29 -06:00
main-title.png feat(tetris-attack): smooth panel fall animation and settling frame 2026-07-20 19:21:08 -06:00
monopoly-cards.png Major Port 2026-06-28 19:27:29 -06:00
monopoly-cards.psd Major Port 2026-06-28 19:27:29 -06:00
monopoly-pawns.png Major Port 2026-06-28 19:27:29 -06:00
oldmaid-cards.png Major Port 2026-06-28 19:27:29 -06:00
oldmaid-cards.psd Major Port 2026-06-28 19:27:29 -06:00
opponents.png Major Port 2026-06-28 19:27:29 -06:00
opponents.psd Major Port 2026-06-28 19:27:29 -06:00
peggle-sprites.png Peggle Modifications 2026-07-11 15:43:21 -06:00
peggle-sprites.psd Peggle Modifications 2026-07-11 15:43:21 -06:00
playfield-combat.png feat: add default playfields for board games and new combat theme 2026-07-05 19:21:50 -06:00
playfield-fantasy.png feat(swdbg): add card dealing animations and opponent hand visualization 2026-07-05 14:44:03 -06:00
playfield-felt-blue.png Major Port 2026-06-28 19:27:29 -06:00
playfield-felt-green.png Major Port 2026-06-28 19:27:29 -06:00
playfield-felt-red.png Major Port 2026-06-28 19:27:29 -06:00
playfield-starscape.png feat(swdbg): add card dealing animations and opponent hand visualization 2026-07-05 14:44:03 -06:00
playfield-wood-cherry.png Major Port 2026-06-28 19:27:29 -06:00
playfield-wood-dark.png Major Port 2026-06-28 19:27:29 -06:00
playfield-wood-english.png Major Port 2026-06-28 19:27:29 -06:00
playfield-wood-light.png Major Port 2026-06-28 19:27:29 -06:00
risk-board.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-act1.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-act2.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-act3.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-cards.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-cards.psd Major Port 2026-06-28 19:27:29 -06:00
spireclimb-creatures.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-creatures.psd Major Port 2026-06-28 19:27:29 -06:00
spireclimb-rogue.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-rogue.psd Major Port 2026-06-28 19:27:29 -06:00
spireclimb-warrior.png Major Port 2026-06-28 19:27:29 -06:00
spireclimb-warrior.psd Major Port 2026-06-28 19:27:29 -06:00
splendor-cards.png Major Port 2026-06-28 19:27:29 -06:00
splendor-cards.psd Major Port 2026-06-28 19:27:29 -06:00
splendor-gems.png Major Port 2026-06-28 19:27:29 -06:00
splendor-gems.psd Major Port 2026-06-28 19:27:29 -06:00
stratego-pieces.png Major Port 2026-06-28 19:27:29 -06:00
stratego-pieces.psd Major Port 2026-06-28 19:27:29 -06:00
superkart-background.png Add custom background artwork to Super Kart menu screens 2026-07-17 15:09:01 -06:00
swdbg-bases-art.png feat: enhance SWDBG animations and Dungeon Boss mid-walk casting 2026-07-05 18:20:06 -06:00
swdbg-bases-art.psd feat: enhance SWDBG animations and Dungeon Boss mid-walk casting 2026-07-05 18:20:06 -06:00
swdbg-cards-art.png feat: add Balatro — poker roguelike game 2026-07-09 22:43:36 -06:00
swdbg-cards-art.psd feat: add Balatro — poker roguelike game 2026-07-09 22:43:36 -06:00
tab-icons.png feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-13 17:50:24 -06:00
tab-icons.psd feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-13 17:50:24 -06:00
tickettoride-cards.png Major Port 2026-06-28 19:27:29 -06:00
tickettoride-cards.psd Major Port 2026-06-28 19:27:29 -06:00