[CODE] Deck statistics - (Now included in SVN)
[CODE] Deck statistics - (Now included in SVN)
Updated to version 0.7 (2009/09/18)
Changelog
------------
Version 0.7 additions:
- Statistics of games against various AI decks
(minor bug: decks with no games played against show 50% ratio)
- Displaying probabilities and card counts also graphically (kind of)
- Color breakdown for counts of cards per mana cost.
- Calculating percentage of mana symbols for each color.
Version 0.5 additions:
- Counts of cards for different amounts of converted mana cost.
- Counts of colored manasymbols in casting costs of cards included in deck (hybrid manacosts are not currently handled)
- Probabilities of no lands/no creatures calculated for first 7 turns
Eboot (for psp version)
Exe (for windows version)
The eboot file is too big to be attached here.
Installation
PSP: Replace your original eboot file (in psp/game/wth) with the one from the first link. I recommend backing up the original first.
Win: Replace the exe with the one downloaded from second link.
What it does
Adds basic statistical/probability information to the deck editor, as seen on images below.
Usage
Statistics are accessible from the deck editor screen by entering info screen (either by pressing [] or by waiting a few seconds) and then pressing the left or right shoulder buttons. Repeated presses cycle through available screens.
Consider this an 0.7 beta version, not supposed to look good, be accurate, efficient or complete.
Suggestions will be considered.
Todo
- Creature subtype statistics
- Creature abilities statistics
- Cards per set statistics
- Visual clean-up
------------
Original post:
Good day.
One of the things I'm missing in the Wagic's deck building is deck's statistical analysis: while we do have a basic deck information (number of cards, number of cards in different colors), several other (and from my point of view, crucial to the deck building process) statistics are missing:
- Counts of cards by type (creature, spell etc)
- Counts of cards by casting cost; average casting cost
- Total number and type of colored/colorless mana symbols in cards' casting costs
- Probability of drawing no lands in first hand/in first few turns
- Probability of drawing one of selected cards in first hand/in first few turns
etc. etc.
Yes, I'm a bit of number cruncher.
For my personal use, I've coded a simple function to calculate probability of mana screw (see image below, tiny addition in lower right), but I would like to see all of these features implemented.
So,
a.) Is anyone working at anything like this currently?
b.) Would anyone besides me benefit from this kind of information?
If a.) no, b.) yes, I might code it myself. I will probably do it regardless of b. anyway
Aforementioned image:
[EDIT ABRA : Renamed and moved]
Changelog
------------
Version 0.7 additions:
- Statistics of games against various AI decks
(minor bug: decks with no games played against show 50% ratio)
- Displaying probabilities and card counts also graphically (kind of)
- Color breakdown for counts of cards per mana cost.
- Calculating percentage of mana symbols for each color.
Version 0.5 additions:
- Counts of cards for different amounts of converted mana cost.
- Counts of colored manasymbols in casting costs of cards included in deck (hybrid manacosts are not currently handled)
- Probabilities of no lands/no creatures calculated for first 7 turns
Eboot (for psp version)
Exe (for windows version)
The eboot file is too big to be attached here.
Installation
PSP: Replace your original eboot file (in psp/game/wth) with the one from the first link. I recommend backing up the original first.
Win: Replace the exe with the one downloaded from second link.
What it does
Adds basic statistical/probability information to the deck editor, as seen on images below.
Usage
Statistics are accessible from the deck editor screen by entering info screen (either by pressing [] or by waiting a few seconds) and then pressing the left or right shoulder buttons. Repeated presses cycle through available screens.
Consider this an 0.7 beta version, not supposed to look good, be accurate, efficient or complete.
Suggestions will be considered.
Todo
- Creature subtype statistics
- Creature abilities statistics
- Cards per set statistics
- Visual clean-up
------------
Original post:
Good day.
One of the things I'm missing in the Wagic's deck building is deck's statistical analysis: while we do have a basic deck information (number of cards, number of cards in different colors), several other (and from my point of view, crucial to the deck building process) statistics are missing:
- Counts of cards by type (creature, spell etc)
- Counts of cards by casting cost; average casting cost
- Total number and type of colored/colorless mana symbols in cards' casting costs
- Probability of drawing no lands in first hand/in first few turns
- Probability of drawing one of selected cards in first hand/in first few turns
etc. etc.
Yes, I'm a bit of number cruncher.
For my personal use, I've coded a simple function to calculate probability of mana screw (see image below, tiny addition in lower right), but I would like to see all of these features implemented.
So,
a.) Is anyone working at anything like this currently?
b.) Would anyone besides me benefit from this kind of information?
If a.) no, b.) yes, I might code it myself. I will probably do it regardless of b. anyway
Aforementioned image:
[EDIT ABRA : Renamed and moved]
- Attachments
-
[The extension zip has been deactivated and can no longer be displayed.]
Last edited by Daddy32 on Fri Sep 18, 2009 4:01 pm, edited 9 times in total.
Re: Deck statistics
This is nice ! I would use it
If it doesn't end up being integrated in the next official release, I'd be happy to have the source code !
Thanks !
If it doesn't end up being integrated in the next official release, I'd be happy to have the source code !
Thanks !
Re: Deck statistics
I would defiantly use this. It would help me a lot when I develop a new deck.
-
- Posts: 63
- Joined: Thu Nov 06, 2008 12:19 am
Re: Deck statistics
love stats. keep it up!
Re: Deck statistics
I would definitely use this. I believe I requested something similar in the forum before. Great Job!
Re: Deck statistics
Alright, it's good to see some interest. Unfortunately, I'm leaving on sudden holidays right now, so I won't be able to deliver what I promised in following weeks. All you can have now is eboot and sources of the single change pictured above, but don't worry, I'm not finished (I NEED the statistics badly myself, after all ).
Obsolete link and code removed (see the first post for current version)
That's it for now, more to come.
Obsolete link and code removed (see the first post for current version)
That's it for now, more to come.
Last edited by Daddy32 on Mon Sep 07, 2009 8:34 pm, edited 1 time in total.
Re: Deck statistics
How Did I not see this thread before? Wow, I would love this.
-
- Posts: 37
- Joined: Tue Oct 21, 2008 11:16 pm
Re: Deck statistics
look sweet but id really want the card type stats the most so i know how many creatures, sorceries and instants im playing
Re: Deck statistics
I would like this. Perhaps an average mana cost per card statistic too (not including land of course)? I believe it would be fairly simple to add.
Re: Deck statistics
OK, I'm back.
Here's what I've got so far:
- Counts of cards by type (creature, instant, enchantment...)
- Average mana cost (of nonland cards)
- No-lands probabilities
- Price of deck in game credits
I'm planing to expand some of the statistics into more detail on separate pages (especially the mana cost statistics) and display them in graphical form where it makes sense.
And of course, I'm open to sugestions.
Here's what I've got so far:
- Counts of cards by type (creature, instant, enchantment...)
- Average mana cost (of nonland cards)
- No-lands probabilities
- Price of deck in game credits
I'm planing to expand some of the statistics into more detail on separate pages (especially the mana cost statistics) and display them in graphical form where it makes sense.
And of course, I'm open to sugestions.