Skip to content

Add Trade card#138

Merged
iqnite merged 2 commits into
mainfrom
trade
May 15, 2026
Merged

Add Trade card#138
iqnite merged 2 commits into
mainfrom
trade

Conversation

@iqnite
Copy link
Copy Markdown
Owner

@iqnite iqnite commented May 15, 2026

Resolves #134

Copilot AI review requested due to automatic review settings May 15, 2026 12:55
@iqnite iqnite added the enhancement New feature or request label May 15, 2026
@iqnite iqnite self-assigned this May 15, 2026
@iqnite iqnite added the cards Gameplay or card mechanics label May 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the new Trade card, allowing a player to steal a random card from an opponent and then give them a card back.

Changes:

  • Defines Trade card metadata and user-facing messages.
  • Registers Trade in playable card actions.
  • Implements Trade interaction flow, including target selection, Nope confirmation, card selection, and result viewing.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
resources/messages.json Adds Trade-related prompts, success text, and view-button labels.
resources/cards.json Adds the Trade card definition and play constraints.
eggsplode/cards/steal.py Implements the Trade card flow using existing steal/selection UI patterns.
eggsplode/cards/__init__.py Registers Trade as a playable action.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread eggsplode/cards/steal.py
Comment thread resources/cards.json
@iqnite iqnite enabled auto-merge May 15, 2026 13:13
@iqnite iqnite merged commit 412dfb1 into main May 15, 2026
5 checks passed
@iqnite iqnite deleted the trade branch May 15, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cards Gameplay or card mechanics enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Trade card

2 participants