From 0465829c25ef43ba9ba898dff01ebaa5106fd1f8 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Fri, 5 Jun 2015 15:37:51 +0200 Subject: It works! Reading in a file, writing to the same file or a different existing file, glancing, perusing, adding and removing cards by number --- testbase | 1 + 1 file changed, 1 insertion(+) create mode 100644 testbase (limited to 'testbase') diff --git a/testbase b/testbase new file mode 100644 index 0000000..4e1e6f4 --- /dev/null +++ b/testbase @@ -0,0 +1 @@ +{"cards":[{"layout":"normal","name":"Divination","names":null,"manaCost":"{2}{U}","cmc":3,"colors":["Blue"],"type":"Sorcery","supertypes":null,"types":["Sorcery"],"subtypes":null,"rarity":"Common","text":"Draw two cards.","flavor":"\"The key to unlocking this puzzle is within you.\"\n—Doriel, mentor of Mistral Isle","artist":"Howard Lyon","number":"52","power":null,"toughness":null,"loyalty":null,"multiverseid":383227,"variations":null,"imageName":"divination","border":null,"watermark":null,"setCode":"M15","count":1},{"layout":"normal","name":"Soulmender","names":null,"manaCost":"{W}","cmc":1,"colors":["White"],"type":"Creature — Human Cleric","supertypes":null,"types":["Creature"],"subtypes":["Human","Cleric"],"rarity":"Common","text":"{T}: You gain 1 life.","flavor":"\"Healing is more art than magic. Well, there is still quite a bit of magic.\"","artist":"James Ryman","number":"35","power":"1","toughness":"1","loyalty":null,"multiverseid":383393,"variations":null,"imageName":"soulmender","border":null,"watermark":null,"setCode":"M15","count":1},{"layout":"normal","name":"Amphin Pathmage","names":null,"manaCost":"{3}{U}","cmc":4,"colors":["Blue"],"type":"Creature — Salamander Wizard","supertypes":null,"types":["Creature"],"subtypes":["Salamander","Wizard"],"rarity":"Common","text":"{2}{U}: Target creature can't be blocked this turn.","flavor":"\"There are those who do not believe in the existence of the amphin. This seems somehow to be of their own design.\"\n—Gor Muldrak, Cryptohistories","artist":"Mark Winters","number":"45","power":"3","toughness":"2","loyalty":null,"multiverseid":383183,"variations":null,"imageName":"amphin pathmage","border":null,"watermark":null,"setCode":"M15","count":1},{"layout":"normal","name":"Seek the Horizon","names":null,"manaCost":"{3}{G}","cmc":4,"colors":["Green"],"type":"Sorcery","supertypes":null,"types":["Sorcery"],"subtypes":null,"rarity":"Uncommon","text":"Search your library for up to three basic land cards, reveal them, and put them into your hand. Then shuffle your library.","flavor":"The Temur call the flickering lights the Path of Whispers, believing that they lead the way to ancestral knowledge.","artist":"Min Yum","number":"150","power":null,"toughness":null,"loyalty":null,"multiverseid":386659,"variations":null,"imageName":"seek the horizon","border":null,"watermark":null,"setCode":"KTK","count":3},{"layout":"normal","name":"Bitter Revelation","names":null,"manaCost":"{3}{B}","cmc":4,"colors":["Black"],"type":"Sorcery","supertypes":null,"types":["Sorcery"],"subtypes":null,"rarity":"Common","text":"Look at the top four cards of your library. Put two of them into your hand and the rest into your graveyard. You lose 2 life.","flavor":"\"Here you lie then, Ugin. The corpses of worlds will join you in the tomb.\"\n—Sorin Markov","artist":"Viktor Titov","number":"65","power":null,"toughness":null,"loyalty":null,"multiverseid":386489,"variations":null,"imageName":"bitter revelation","border":null,"watermark":null,"setCode":"KTK","count":2}],"decks":[]} \ No newline at end of file -- cgit v1.2.3