Sorry for hijacking this for a shameless plug for my software... :-D

But I am writing a MTG app, and even though statistics aren't yet programmed
in, it is indeed on the feature list (albeit after getting internet play
going).

For a card search engine that beats gatherer, and pretty much all others on
the net, go to
http://daringapprentice.wikispaces.com

Either way, I'd be *very* interested if you could post your progress on this
project, because it may cause me not to have to write all the deck stats
code, and rather just include a copy of your TW in my project (if it's in
the license you want to supply your content with).

Regards,
-Reenen



On Sat, Feb 14, 2009 at 8:22 PM, Ken Girard <[email protected]> wrote:

>
> It's been a while since I played MtG, but I think TW would be a great
> Since you are gathering the same data set off each card, try using
> hideWhen, customFields, and templates.
>
>  You put together an edit template (CardTemplateEdit) something like:
> <div class='card-info'>
>  Color: &nbsp;<span macro='edit c-color'></span> <br />
>  Type: &nbsp;<span macro='edit c-type'></span> <br />
>  Rarity: &nbsp;<span macro='edit c-power'></span> <br />
>  Attack: &nbsp;<span macro='edit c-attack'></span> <br />
>  Defense: &nbsp;<span macro='edit c-defense'></span> <br />
>  Number of: &nbsp;<span macro='edit c-number'></span> <br />
> </div>
> Same for a viewTemplate (CardTemplateView) with all the edits changed
> to view.
>
> Then in your EditTemplate you put something like:
> <div macro="showWhen tiddler.tags.contains('Card') || tiddler.title
> == 'New Card'"> [[CardTemplateEdit]]</div>
>
> And in the ViewTemplate:
> <div macro="showWhenTagged Card">[CardTemplateView]]</div>
>
> Now add in  the following in a convenient location:
> <<newTiddler label:'Add a card' title:'New Card' tag:'Card'>>
> When you click it, it opens a tiddler tagged Card, ready to collect
> your data.
>
> All that is left is using ForEach to gather all the data and display
> it in a fashion you like.
>
> For something that does a lot of this, take a look at:
> http://no-sin.com/wiki/WorkTracker.html
>
> Just occurred to me:
> Use what I wrote above to gather the data on your entire collection.
> Then use tiddlerSlices (http://tiddlywiki.org/wiki/Slice) to list data
> on different decks;
> |Goblin Deck|3|
> |Destroy It All|4|
> |World Beater|0|
>
> Write a forEach that uses the containing tiddler's title to look up
> all info on the cards in that deck. So if you put it into a tiddler
> titled Goblin Deck it would list the name of the card and how many to
> put in to the deck.
>
> Ken Girard
>
>
>
>
> On Feb 13, 5:33 pm, "Dave Gifford - http://www.giffmex.org/";
> <[email protected]> wrote:
> > Word of encouragement-
> >
> > Most of this sounds right up TiddlyWiki's alley, using
> > ForEachTiddlerPlugin and maybe a couple others. The only tricky part
> > is your description of the stats page. I'm sure that's doable somehow.
> > We'll see what ideas the big guns give you...
> >
> > Dave
> >
> > On Feb 13, 2:58 pm, Steve <[email protected]> wrote:
> >
> > > Hi All,
> >
> > > Just wanted to see if TiddlyWiki had the capabilities to handle my
> > > project without too much hassle.  I'm willing to do some programming,
> > > but if I have to code tremendous amounts there might be a better tool
> > > out there.
> >
> > > I have used TiddlyWiki and its variants in the past for different
> > > tasks and organizing but it was all very surface level.  I've got a
> > > personal project that I was going to organize using an Excel sheet,
> > > but I think that tagging in TiddlyWiki will give me some better
> > > organization and updating ability.
> >
> > > Forgive my geekiness but this project is essentially to micromanage a
> > > fixed set of collectible card game (A draft cube for Magic the
> > > Gathering to be specific) cards based on several attributes as well as
> > > providing a place to comment and note on individual cards.  It's not
> > > intended to manage a large collection but rather a rotating pool of
> > > cards (less than 400).  Part of the need is the ability to get
> > > statistics.  Each card would be represented by a Tiddler (and there is
> > > only ever one of any card) and would have tags representing various
> > > attributes (i.e. type of card, color of card, cost of card, whether a
> > > card is active or not).
> >
> > > I would like to have a page with stats like "Cards tagged as 'red' are
> > > 15% of all active cards".  Or "Of active red cards, there are 10 with
> > > a cost of 2".
> >
> > > The tiddler for a card itself would contain a link to external
> > > information about the card in the game as well as notes about the card
> > > based upon its performance in games.  New cards could be added,
> > > replacing older cards which would have their tag changed from active
> > > to inactive, so the notes could be maintained even though they would
> > > not count in the stats.
> >
> > > It would also be great to be able to list the cards by different
> > > combinations of tags and in order of certain values.
> >
> > > Is this something TiddlyWiki could do and if so, where should I start?
> >
> > > Thanks,
> > > Steve
> >
>


-- 
o__
,_.>/ _
(_)_\(_)_______
...speed is good
_______________
I believe five out of four people have a problem with fractions.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to