XMage - Magic Another Game Engine

ai card ccg client-server computer-opponents deck game game-engine java linux macos magic magic-the-gathering mtg mtgjson multiplayer scryfall windows xmage
4 Open Issues Need Help Last updated: Jun 26, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Fix a bug in the XMage Magic: The Gathering game engine where the Curse of Inertia card effect incorrectly allows targeting multiple permanents instead of just one. The fix should ensure that only the last selected target receives the tap or untap effect, while preventing the selection of multiple targets in the first place.

Complexity: 3/5
bug good first issue

XMage - Magic Another Game Engine

Java
#ai#card#ccg#client-server#computer-opponents#deck#game#game-engine#java#linux#macos#magic#magic-the-gathering#mtg#mtgjson#multiplayer#scryfall#windows#xmage

AI Summary: Fix a bug in the XMage game engine where the cost reduction from the Professor Hojo card is not applied correctly to equipment abilities before target selection, preventing activation if insufficient mana is available. The fix requires adjusting the cost reduction calculation to occur earlier in the ability activation process.

Complexity: 4/5
bug good first issue

XMage - Magic Another Game Engine

Java
#ai#card#ccg#client-server#computer-opponents#deck#game#game-engine#java#linux#macos#magic#magic-the-gathering#mtg#mtgjson#multiplayer#scryfall#windows#xmage

AI Summary: Refactor XMage code to correctly handle exiled cards cast from exile. The current implementation of `castMultipleWithAttributeForFree` is flawed when used with cards moved to the exile zone; it needs to include calls to `game.processAction();` and `cards.retainZone(Zone.EXILED, game);` to ensure proper filtering and prevent unintended behavior. This involves identifying all instances of `castMultipleWithAttributeForFree` used with exiled cards and updating them with the correct filtering logic.

Complexity: 4/5
refactoring good first issue

XMage - Magic Another Game Engine

Java
#ai#card#ccg#client-server#computer-opponents#deck#game#game-engine#java#linux#macos#magic#magic-the-gathering#mtg#mtgjson#multiplayer#scryfall#windows#xmage

AI Summary: The task is to debug a bug in the XMage game engine where the Strago and Relm card allows the opponent to cast exiled cards. The issue is that the opponent should not be able to cast the exiled card, but the game log shows that the opponent successfully cast 'Cid, Freeflier Pilot' after exiling several cards. The solution requires analyzing the game logic related to the Strago and Relm card's effect and identifying the code causing the incorrect behavior.

Complexity: 4/5
bug good first issue

XMage - Magic Another Game Engine

Java
#ai#card#ccg#client-server#computer-opponents#deck#game#game-engine#java#linux#macos#magic#magic-the-gathering#mtg#mtgjson#multiplayer#scryfall#windows#xmage