This is a simple, plain Java program that plays goldfish games of Magic: The Gathering and uses a genetic algorithm to generate good aggro decks.
A brief article with some results is available here.
The Main class contains a few usage example functions, but there are a few files you should look at to learn more.
All implemented cards are in CardCatalog.java.
Genetics.java contains the genetic algorithm code.
Game.java contains the logic to play a goldfish game.
This code is licensed under the GNU GPL v3.