*Author

Offline ThurhameTopic starter

  • Newbie
  • *
  • Posts: 25
  • Reputation Power: 1
  • Thurhame is a Spark waiting for a buff.
Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg506117#msg506117
« on: May 31, 2012, 09:19:06 am »
I. Introduction

Most of you are probably familiar with Scaredgirl's Quanta Index formula. It is a very useful number for figuring out about how many pillars/towers a deck should have. For those who aren't familiar with it, here is a summary:

Quanta Index (QI) = (total cost of all cards + ability costs - total quanta produced by spells - ability quanta) / (number of pillars in deck)

However, there is much talk about how the ideal QI varies depending on various factors, most especially the "speed" of the deck. I have looked for some way to quantify this variation, but found none, so (being a math nerd) I decided to calculate it myself.

II. The Formula

optimal QI for non-Mark elements = 1/4 * (T-1) * ( (T+12)/(T+6) + (T+14)/(T+7) )
optimal QI for the Mark's element = (non-Mark formula) + 1/2 * (T-1) * ( 1/(T+6) + 1/(T+7) ) * (number of cards in deck) / (number of pillars in deck)

*where T is the deck's average # of turns to win a game

III. The Theory

Also known as, "How this crazy guy came up with this weird-looking formula."

This formula uses the idea of Scaredgirl's ideal situation, where on average you produce exactly enough quanta to play all the cards you draw. Since cost increases linearly as the game progresses, while pillar quanta increases quadratically, this ideal situation occurs at a particular length of time. Obviously, we want this length of time to coincide with the length of the game. This situation can be described by an equation, which simplifies to the above formula. The equation varies slightly depending on whether the deck takes the first or second turn; I took the average of the results for this formula.

The original equation, which assumes you go first and ignores the Mark, was:

SUM[k=7..N-1]{kP/D} = QN/D

*where N is the number of cards drawn (i.e. T+6), P is the number of pillars in the deck, D is the number of cards in the deck, and Q is the numerator of the QI formula

Endnotes
1. Remember to use QI SEPARATELY for each element.
2. A tower counts as both a pillar and a spell that produces 1 quantum.
3. A quantum pillar counts as 1/4 pillar of each element. A pendulum counts as 1/2 pillar of both elements.
4. The quanta produced by Immolation/Cremation should be reduced based on T and the number of creatures in the deck you are willing to sacrifice.
5. Cards such as Fractal do not receive any special treatment.
6. There is much disagreement about how to count abilities. I prefer to use Scaredgirl's original method, but how you figure it is up to you.
7. I have no idea how to handle hastened card drawing. If you do, please share it.
8. The variable T in my formula is often referred to as "TTK," which stands for "Turns To Kill." It is commonly used to measure a deck's "speed."
9. If I have made a mistake somewhere in my formula, please let me know. Also, comments and criticism are welcome.

Offline rosutosefi

  • Sr. Member
  • ****
  • Posts: 727
  • Reputation Power: 10
  • rosutosefi is taking their first peeks out of the Antlion's burrow.rosutosefi is taking their first peeks out of the Antlion's burrow.
  • Dead.
  • Awards: Slice of Elements 2nd Birthday Cake
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg506120#msg506120
« Reply #1 on: May 31, 2012, 09:33:51 am »
I've done some calculations for this, too. One important thing to note is the deck's "launch time". This would be the time that you drop all the cards from your hand with sufficient quanta production to fuel the next cards. This would mean that a deck with many small critters need only a few towers because less quanta is needed to fuel future cards you draw. On the flip side, decks with dragons and other high-cost cards should have a larger starting amount of quanta to fuel for this launch, while leaving a large amount of quantum late-game. I tried this already, and found that it is not TTW alone that dictates the optimal amount of quanta you need, but also the launch time, which means you have to account the average quanta needed for the cards you use, and card playing priority, which means that you need a relatively lower QI if the cards you need to play early game have a relatively low cost and the opposite of that when you need to play high cost cards early.

I'll go look for my notes about that.  :D

EDIT: Here you go. Yes, I quit on that thing.
« Last Edit: May 31, 2012, 09:36:52 am by rosutosefi »
Not so active.

Offline bogtro

  • Sr. Member
  • ****
  • Posts: 964
  • Reputation Power: 14
  • bogtro is taking their first peeks out of the Antlion's burrow.bogtro is taking their first peeks out of the Antlion's burrow.
  • Bring it. I'm ready.
  • Awards: 6th Trials - Master of DarknessWeekly Tournament WinnerChampionship League 1/2012 2nd PlaceWeekly Tournament Winner
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg506257#msg506257
« Reply #2 on: May 31, 2012, 07:48:15 pm »
Without verifying the formulae too much, the main problem that I see is that TTW and QI are directly related and therefore you can't really get one from the other. Changing the QI changes the TTW, leaving an infinite loop.
Years ago we had Ronald Reagan, Johnny Cash, Bob Hope, and Steve Jobs. Now we have Obama, no hope, no cash, and no jobs.

Offline rosutosefi

  • Sr. Member
  • ****
  • Posts: 727
  • Reputation Power: 10
  • rosutosefi is taking their first peeks out of the Antlion's burrow.rosutosefi is taking their first peeks out of the Antlion's burrow.
  • Dead.
  • Awards: Slice of Elements 2nd Birthday Cake
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg506546#msg506546
« Reply #3 on: June 01, 2012, 03:34:18 pm »
Without verifying the formulae too much, the main problem that I see is that TTW and QI are directly related and therefore you can't really get one from the other. Changing the QI changes the TTW, leaving an infinite loop.

That's why you make a program for it.
Not so active.

Offline Baubble

  • Newbie
  • *
  • Posts: 28
  • Country: us
  • Reputation Power: 1
  • Baubble is a Spark waiting for a buff.
  • New to Forum
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg507279#msg507279
« Reply #4 on: June 03, 2012, 05:59:38 pm »
I have a question about the setup of the original formula



Quanta Index (QI) = (total cost of all cards + ability costs - total quanta produced by spells - ability quanta) / (number of pillars in deck)


Would total quanta produced by spells and ability quanta (I'm assuming like Devourer or RoL, etc) be on the top line, or would they be on the bottom line?  Or wouldn't it matter?
I ask because I'm a humanities major, not a math major. :-(

Offline rosutosefi

  • Sr. Member
  • ****
  • Posts: 727
  • Reputation Power: 10
  • rosutosefi is taking their first peeks out of the Antlion's burrow.rosutosefi is taking their first peeks out of the Antlion's burrow.
  • Dead.
  • Awards: Slice of Elements 2nd Birthday Cake
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg507421#msg507421
« Reply #5 on: June 04, 2012, 12:28:10 am »
I have a question about the setup of the original formula



Quanta Index (QI) = (total cost of all cards + ability costs - total quanta produced by spells - ability quanta) / (number of pillars in deck)


Would total quanta produced by spells and ability quanta (I'm assuming like Devourer or RoL, etc) be on the top line, or would they be on the bottom line?  Or wouldn't it matter?
I ask because I'm a humanities major, not a math major. :-(

That is also one question I have, since quanta-producing creatures also act as pillars and are also affected by "launch". And ability costs should have some kind of multiplier depending on how often that skill is used. For example, one would spam growth or scarab but not lobotomize or devour.

For now, I just assume devourers and RoL's are played immediately. Include the devourer's quanta cost, but treat it also as a pillar.
Not so active.

Offline eaglgenes101

  • Hero Member
  • *****
  • Posts: 1964
  • Country: us
  • Reputation Power: 29
  • eaglgenes101 is a proud Wyrm taking wing for the first time.eaglgenes101 is a proud Wyrm taking wing for the first time.eaglgenes101 is a proud Wyrm taking wing for the first time.eaglgenes101 is a proud Wyrm taking wing for the first time.eaglgenes101 is a proud Wyrm taking wing for the first time.
  • The rising all-'rounder of Elements
  • Awards: Slice of Elements 6th Birthday CakeSlice of Elements 5th Birthday CakeSlice of Elements 4th Birthday Cake
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg507441#msg507441
« Reply #6 on: June 04, 2012, 12:56:44 am »
Some1 stick this into a tool?
My 3 game-modification principles:
1. If it ain't broke, don't wreck it.
2. Simple fixes for simple problems.
3. Remember to fill in the holes.

Offline Baubble

  • Newbie
  • *
  • Posts: 28
  • Country: us
  • Reputation Power: 1
  • Baubble is a Spark waiting for a buff.
  • New to Forum
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg508204#msg508204
« Reply #7 on: June 06, 2012, 04:10:38 am »
That is also one question I have, since quanta-producing creatures also act as pillars and are also affected by "launch". And ability costs should have some kind of multiplier depending on how often that skill is used. For example, one would spam growth or scarab but not lobotomize or devour.

For now, I just assume devourers and RoL's are played immediately. Include the devourer's quanta cost, but treat it also as a pillar.

ScaredGirl addressed ability counts in her original post.  I have no idea on the efficacy, but it has worked for me in the past.  Abilities that are intended to be played every turn have their quanta costs counted twice, while situation-specific abilities are counted once.

Not sure how this would change when you factor launch in. 
I imagine that abilities with costs would be calculated independently since you're already counting for the speed of the card, so you'd be accounting for it twice otherwise.

Offline shileka

  • Full Member
  • ***
  • Posts: 338
  • Country: be
  • Reputation Power: 5
  • shileka is a Spark waiting for a buff.
  • you're wasting 5 seconds reading this
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg1036678#msg1036678
« Reply #8 on: January 29, 2013, 08:55:46 pm »
Spoiler for Hidden:
I. Introduction

Most of you are probably familiar with Scaredgirl's Quanta Index formula. It is a very useful number for figuring out about how many pillars/towers a deck should have. For those who aren't familiar with it, here is a summary:

Quanta Index (QI) = (total cost of all cards + ability costs - total quanta produced by spells - ability quanta) / (number of pillars in deck)

However, there is much talk about how the ideal QI varies depending on various factors, most especially the "speed" of the deck. I have looked for some way to quantify this variation, but found none, so (being a math nerd) I decided to calculate it myself.

II. The Formula

optimal QI for non-Mark elements = 1/4 * (T-1) * ( (T+12)/(T+6) + (T+14)/(T+7) )
optimal QI for the Mark's element = (non-Mark formula) + 1/2 * (T-1) * ( 1/(T+6) + 1/(T+7) ) * (number of cards in deck) / (number of pillars in deck)

*where T is the deck's average # of turns to win a game

III. The Theory

Also known as, "How this crazy guy came up with this weird-looking formula."

This formula uses the idea of Scaredgirl's ideal situation, where on average you produce exactly enough quanta to play all the cards you draw. Since cost increases linearly as the game progresses, while pillar quanta increases quadratically, this ideal situation occurs at a particular length of time. Obviously, we want this length of time to coincide with the length of the game. This situation can be described by an equation, which simplifies to the above formula. The equation varies slightly depending on whether the deck takes the first or second turn; I took the average of the results for this formula.

The original equation, which assumes you go first and ignores the Mark, was:

SUM[k=7..N-1]{kP/D} = QN/D

*where N is the number of cards drawn (i.e. T+6), P is the number of pillars in the deck, D is the number of cards in the deck, and Q is the numerator of the QI formula

Endnotes
1. Remember to use QI SEPARATELY for each element.
2. A tower counts as both a pillar and a spell that produces 1 quantum.
3. A quantum pillar counts as 1/4 pillar of each element. A pendulum counts as 1/2 pillar of both elements.
4. The quanta produced by Immolation/Cremation should be reduced based on T and the number of creatures in the deck you are willing to sacrifice.
5. Cards such as Fractal do not receive any special treatment.
6. There is much disagreement about how to count abilities. I prefer to use Scaredgirl's original method, but how you figure it is up to you.
7. I have no idea how to handle hastened card drawing. If you do, please share it.
8. The variable T in my formula is often referred to as "TTK," which stands for "Turns To Kill." It is commonly used to measure a deck's "speed."
9. If I have made a mistake somewhere in my formula, please let me know. Also, comments and criticism are welcome.

okay, i planned to learn how to calculate the QI with my head, but now i see thats gona be a whole lot harder than expected...
http://webchat.ext3.net:9090/#  ignore the link, it's so i can find the chatroom lol chat #elementsthegame tournaments  #etgtournaments
[insert quote here]

Offline Acsabi44

  • Hero Member
  • *****
  • Posts: 1954
  • Country: hu
  • Reputation Power: 28
  • Acsabi44 is a proud Wyrm taking wing for the first time.Acsabi44 is a proud Wyrm taking wing for the first time.Acsabi44 is a proud Wyrm taking wing for the first time.Acsabi44 is a proud Wyrm taking wing for the first time.Acsabi44 is a proud Wyrm taking wing for the first time.
  • Coming to get ya.
  • Awards: Slice of Elements 6th Birthday CakeBronze DonorWeekly Tournament WinnerSlice of Elements 4th Birthday CakeWeekly Tournament Winner14 Club - Most Expensive players during War AuctionWeekly Tournament WinnerWeekly Tournament Winner
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg1036715#msg1036715
« Reply #9 on: January 29, 2013, 11:11:02 pm »
okay, i planned to learn how to calculate the QI with my head, but now i see thats gona be a whole lot harder than expected...
Lol, it is actually very easy.
Here's the basic forumla that works for 80% of the decks:
1, slap 12 pillars into that deck.
2, play lots of games.
3, adjust. (most probably it will be in the +-2 range)
Believe me, it will work for you :)

The remaining 20%? You don't wanna run those kind of decks until you are not adept in determinig proper pillar amounts by playing a few games.
[17:04:00] Dragon6: ‹@Acsabi44› You are Rage Potion, Phase Dragon and Momentum all in one
Interested in game strategy,  theory and other kinds of advice? Clicky clicky!

Offline shileka

  • Full Member
  • ***
  • Posts: 338
  • Country: be
  • Reputation Power: 5
  • shileka is a Spark waiting for a buff.
  • you're wasting 5 seconds reading this
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg1036825#msg1036825
« Reply #10 on: January 30, 2013, 08:30:33 am »
okay, i planned to learn how to calculate the QI with my head, but now i see thats gona be a whole lot harder than expected...
Lol, it is actually very easy.
Here's the basic forumla that works for 80% of the decks:
1, slap 12 pillars into that deck.
2, play lots of games.
3, adjust. (most probably it will be in the +-2 range)
Believe me, it will work for you :)

The remaining 20%? You don't wanna run those kind of decks until you are not adept in determinig proper pillar amounts by playing a few games.

i meant, that i want to be able to see if a deck has enough quanta just by seeing the cards, no testing, like a QI calculator in my head
http://webchat.ext3.net:9090/#  ignore the link, it's so i can find the chatroom lol chat #elementsthegame tournaments  #etgtournaments
[insert quote here]

Offline Shantu

  • Hero Member
  • *****
  • Posts: 1456
  • Country: hu
  • Reputation Power: 21
  • Shantu is a Mummy waiting to discover the path to glory.Shantu is a Mummy waiting to discover the path to glory.Shantu is a Mummy waiting to discover the path to glory.Shantu is a Mummy waiting to discover the path to glory.
  • In high orbit
  • Awards: Weekly Tournament WinnerSlice of Elements 4th Birthday CakeMaster Duelist - Winner of the Duels of Honor PvP Event6th Trials - Master of DeathThe 1st Avatar - Winner of the PvP EventWeekly Tournament WinnerSlice of Elements 3rd Birthday CakeWinner of the Harry Potter PvP House Cup1st Champion of The ColosseumWeekly Tournament WinnerParolee of the 1st Prisoners DilemmaSlice of Elements 2nd Birthday CakeWeekly Tournament WinnerWeekly Tournament Winner
Re: Identifying the Optimal Quanta Index https://elementscommunity.org/forum/index.php?topic=40886.msg1036837#msg1036837
« Reply #11 on: January 30, 2013, 12:07:52 pm »
That comes with experience. QI isn't very reliable.

 

blarg: