Mad Wizard
Mad Wizard is a fantasy card game written in Java and Swing.
It is based on a very popular fantasy card game.
It focuses on playing limited duels with generated decks against a computer opponent.
User interface
Images
All external images are stored in the "MadWizard" data folder in your users or home folder.
Missing images are shown as question marks in the user interface.
Use the Images menu item to check if images are missing.
After downloading the images, the program will stop.
If a file named "background.jpg" is present in the data folder, that image will be used as background during games.
If a tokens folder is present in the data folder, images for token cards are retrieved from that folder.
The filenames must be formatted like this "2_1_red_Goblin_creature_token_with_haste.jpg".
If the image for a certain token card is not present, a generic image will be used instead.
Shortcuts
- Right mouse button on playing field : action button
- Right or Space key : action button
- Left or Escape key : cancel button
- F1 or M key : toggle messages
Rule differences
- No draws : there is always a winner
- No mulligan : custom card shuffler
- No mana pool : mana abilities are played while paying mana costs
- X is at least one in a mana cost
- Triggered abilities are ordered on the stack automatically
- May is ignored in some conditional triggered abilities like life gain
- Most choices are made when a spell or ability is put on the stack
- Combat damage is assigned automatically using the order of blockers coming from the defending player
- Regular combat damage immediately follows first strike combat damage, there is no step in-between
Artificial intelligence
- Minimax tree search
- Alpha-beta pruning and score caching
- Fast tree traversing with undoable actions that change the game state
- Fast iterative scoring system : determines the AI behavior
- Several custom decision algorithms to limit the search tree
- Multi-threaded evaluation of choices
- Difficulty level : number of main phases used for lookahead and maximum thinking time
Keywords
battle cry
Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.
changeling
This card is every creature type at all times.
deathtouch
Creatures dealt damage by this creature are destroyed.
You can divide this creature's combat damage among any of the creatures blocking or blocked by it.
defender
This creature can't attack.
devoid
This card has no color.
double strike
This creature deals both first-strike and regular combat damage.
evolve
Whenever a creature enters the battlefield under your control,
if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.
exalted
Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn.
fear
This creature can't be blocked except by artifact creatures and/or black creatures.
first strike
This creature deals combat damage before creatures without first strike.
flash
You may cast this spell any time you could cast an instant.
flying
This creature can't be blocked except by creatures with flying or reach.
haste
This creature can attack and tap the turn it comes under your control.
hexproof
This can't be the target of spells or abilities your opponents control.
forestwalk
This creature is unblockable as long as defending player controls a Forest.
indestructible
"Destroy" effects and lethal damage don't destroy this.
infect
This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.
intimidate
This creature can't be blocked except by artifact creatures and/or creatures that share a color with it.
islandwalk
This creature is unblockable as long as defending player controls an Island.
lifelink
Damage dealt by this creature also causes you to gain that much life.
mountainwalk
This creature is unblockable as long as defending player controls a Mountain.
persist
When this creature dies, if it had no -1/-1 counters on it,
return it to the battlefield under its owner's control with a -1/-1 counter on it.
plainswalk
This creature is unblockable as long as defending player controls a Plains.
protection from ~
This creature can't be blocked, targeted, dealt damage, equipped or enchanted by anything ~.
prowess
Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn.
reach
This creature can block creatures with flying.
regenerate
The next time this creature would be destroyed this turn, it isn't.
Instead tap it, remove all damage from it, and remove it from combat.
shroud
This can't be the target of spells or abilities.
swampwalk
This creature is unblockable as long as defending player controls a Swamp.
totem armor
If enchanted creature would be destroyed, instead remove all damage from it and destroy this Aura.
trample
If this creature would deal enough damage to its blockers to destroy them,
you may have it deal the rest of its damage to defending player.
undying
When this creature dies, if it had no +1/+1 counters on it,
return it to the battlefield under its owner's control with a +1/+1 counter on it.
vigilance
Attacking doesn't cause this creature to tap.
wither
This deals damage to creatures in the form of -1/-1 counters.