Magic icon indicating copy to clipboard operation
Magic copied to clipboard

Haskell implementation of Magic: The Gathering

Results 21 Magic issues
Sort by recently updated
recently updated
newest added

I still try to push this separately.

This is a first shot at adding "skip to next turn". I'm not sure if it's desirable to differentiate between various main phases, eg. offer "skip to main phase" in...

Right now move events don't have the last known information of an object associated with them so you can't see, for example, if an object was a creature when it...

During a test run, I destroyed an enchantment and Blood Artist's trigger ability was triggered, even though it should only be triggered when creatures die.

When some but not all targets of a spell or ability become invalid, as many effects as possible are applied. Currently what actually happens is unspecified; this needs to be...

Some effects create delayed triggered abilities. For example, Chandra, the Firebrand says in part: "-When you cast your next instant or sorcery spell this turn, copy that spell". This effect...

Some non-permanent objects (instants, sorceries, triggered abilities, activated abilities) create replacement effects that are not tied to a specific object and can therefore not be stored in a single object,...

Some cards allow you to choose new targets for a spell or ability on the stack (Reverberate, Redirect).

Some cards trigger not on events but when a certain state is reached in the game (Phylactery Lich). To fully implement the rules for state-based triggers like this one, they...