Computer Programming and Magic: The Gathering

I started Forge, which is an open-source, free project that lets you play Magic: The Gathering against the computer. Currently other people are updating Forge and there will be no more posts to this blog.

Wednesday, January 28, 2009

Card Set Editor

›
MTG Forge uses the files common.txt, uncommon.txt, and rare.txt to generate the booster packs that are used for sealed deck and drafting. T...
8 comments:
Monday, January 26, 2009

SpellAbility Improvements - Part 3

›
The most important method in SpellAbility is resolve(), which does the "action" of the card like dealing 2 damage or destroying al...
1 comment:
Sunday, January 25, 2009

New Version

›
Thanks to DennisBergkamp, jpb, Rob Cashwalker, GandoTheBard and all others who contributed. This new version is a result of their hard work...
4 comments:
Thursday, January 22, 2009

SpellAbility Improvements - Part 2

›
Ideally SpellAbility could also be used for upkeep triggered abilities like Juzam Djinn (deal 1 damage to you during your upkeep) and damage...
14 comments:
Tuesday, January 20, 2009

SpellAbility Improvements - Part 1

›
The SpellAbility class represents all spells and abilities in MTG Forge. MTG Forge implements cards as basically just a bunch of SpellAbili...
11 comments:
Thursday, January 15, 2009

Computer vs. Computer

›
The idea of getting the computer to play itself in order to test answer the question, “Which deck is better?” is very difficult. Even if yo...
11 comments:
Tuesday, January 13, 2009

Supertype, Type, and Subtype

›
Before I started programming I didn't really understand a card's supertype, type, and subtype. Phage the Untouchable is a good exam...
12 comments:
‹
›
Home
View web version
Powered by Blogger.